This project is archived and is in readonly mode.
Namespace options in routes
Reported by Carlos Antonio da Silva | June 22nd, 2010 @ 09:41 PM
The attached patch allow to pass options to namespace in routes, such as :path, as in the following example:
namespace :customers, :path => 'clientes' do
root :to => 'home#index'
end
This is a really common situation in Rails 2.x apps, when the path might be different.
Comments and changes to this ticket
-
Repository June 22nd, 2010 @ 10:43 PM
- State changed from new to resolved
(from [aacb83143f24ff44c046d18930270d650efffec5]) Allow namespace accept options in routes [#4936 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/aacb83143f24ff44c046d18930270d...
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
Attachments
Referenced by
- 4936 Namespace options in routes (from [aacb83143f24ff44c046d18930270d650efffec5]) Allow n...