This project is archived and is in readonly mode.

#4351 ✓committed
Ryan Bigg

Namespace root route not really namespaced

Reported by Ryan Bigg | April 8th, 2010 @ 11:14 PM | in 3.0.2

This is similar in concept to this ticket: https://rails.lighthouseapp.com/projects/8994/tickets/3673-namespac...

I have this in config/routes.rb:

namespace :admin do
  root :to => "index#index"
end

But then rake routes shows:

admin_root        /admin                            {:controller=>"index", :action=>"index"}

And so it tries to map to IndexController rather than Admin::IndexController.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages