This project is archived and is in readonly mode.

#5034 ✓resolved
pvet

Routing Rails 3.0b4 : namespace and match

Reported by pvet | July 2nd, 2010 @ 09:54 AM

I have a routing problem with namespace :

namespace :admin do
  match ':controller(/:action(/:id(.:format)))'
end

is not working.

Even with an Admin::TestController (and an index action) in app/controllers/admin/test_controller.rb, I obtain No route matches "/admin/test"

Rails 3.0b4
ruby 1.8.7 (2009-06-12 patchlevel 174)

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>

Referenced by

Pages