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.

Changeset [a0cdb0499eecd40ba18d33226767783e4a058847] by José Valim

Revision a0cdb0499eecd40ba18d33226767783e4a058847, committed by José Valim · April 2nd, 2010 @ 06:13 PM

Maintain the usage of :as consistent in the router. Whenever it's supplied, it changes the NAMED ROUTE. If you want to change the PATH, use :path instead. Example: resources :projects, :path => 'projetos'
http://github.com/rails/rails/commit/a0cdb0499eecd40ba18d3322676778...

2 changed files

  • M actionpack/lib/action_dispatch/routing/mapper.rb
  • M actionpack/test/dispatch/routing_test.rb