This project is archived and is in readonly mode.
when using map.namespace, rails is not properly finding the appropriate namespaced controller
-
dharam_sat (at yahoo)
- Tag changed from 2.3.2, rou, routing to 2.3.2, routing
-
dharam_sat (at yahoo)
Forgot to mention, my Development Environment:
Rails 2.3.2
Ruby 1.8.6.26
No Plugins Installed
Windows XP -
Sen
I got the same question here.
Rails 2.3.2 Ruby 1.8.6.26 under Windows XP too. -
James R. Bracy
Same thing here. I have a namespace within a namespace:
map.namespace :api do |api| api.root :controller => 'documentation', :action => 'show' api.resource :documentation, :controller => 'documentation' api.namespace :documentation do |doc| doc.resources :flights end endMy controller are organized like this:
api/documentation
api/documentation/flights
api/flightsWhen I go to localhost::3000/api/documentation/flights I get taken to the api/flights controller.
-
Rohit Arondekar
- State changed from new to stale
- Importance changed from to
Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.