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