# Map.namespace :xxx =\> no xxx\_url() available?

**URL:** <https://www.ruby-forum.com/t/map-namespace-xxx-no-xxx-url-available/132759>\
**Category:** Rails\
**Created:** [March 24, 2008, 2:27pm UTC](https://www.ruby-forum.com/t/map-namespace-xxx-no-xxx-url-available/132759 "2008-03-24T14:27:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://www.ruby-forum.com/u/josh)\
**Post date:** [March 24, 2008, 2:27pm UTC](https://www.ruby-forum.com/t/map-namespace-xxx-no-xxx-url-available/132759/1 "2008-03-24T14:27:35Z")

</div>

Hi all!

I have the following URL structure:

/informations # Just a normal controller without any scaffolding  
functionality  
/informations/encyclopedia # Another normal controller  
/informations/news # A scaffold controller which scaffolds the News  
model

My routes look like this:

map.namespace :informations do |informations|  
informations.encyclopedia ‘encyclopedia/:action’, :controller =\>  
‘encyclopedia’  
informations.resources :news  
end

I would expect now to be able to use the following URL path helpers:

informations\_url # Does not work!  
informations\_encyclopedia\_url # Does not work!  
informations\_news\_path # Does work!

Why do the 1st two not work?

Thanks  
Josh
