Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Namespace options in routes

#4936

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.

Reported by Carlos Antonio da Silva · June 22nd, 2010 @ 09:41 PM

State: resolved
Milestone: none
Assigned to: José Valim José Valim
Importance: none