This project is archived and is in readonly mode.
Routes don't assign correctly root path in namespace
Reported by lewy313 | February 8th, 2011 @ 11:56 AM
rails 3.0.3
resources :foo do
namespace :bar do
root :to => "index#index"
end
end
That code create following routes
foo_root /foo/:foo_id/bar(.:format) {:controller=>"bar/index", :action=>"index"}
I expected
foo_bar_root
Comments and changes to this ticket
-
Repository February 14th, 2011 @ 06:19 AM
- State changed from new to resolved
(from [abea073ddaf260525aa5158e0d375c839c43ca3d]) Add test to prevent regression on namespace root nested in a resource
[#6389 state:resolved] https://github.com/rails/rails/commit/abea073ddaf260525aa5158e0d375...
-
Repository February 14th, 2011 @ 06:19 AM
(from [ccc678b49e48bac37a78f6b542e9def58f4b71d8]) Add test to prevent regression on namespace root nested in a resource
[#6389 state:resolved] https://github.com/rails/rails/commit/ccc678b49e48bac37a78f6b542e9d...
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>
People watching this ticket
- Nobody is watching this ticket.
Referenced by
- 6389 Routes don't assign correctly root path in namespace [#6389 state:resolved] https://github.com/rails/rails/co...
- 6389 Routes don't assign correctly root path in namespace [#6389 state:resolved] https://github.com/rails/rails/co...