This project is archived and is in readonly mode.

Changeset [9651ca751c71cb132c47a32291b9647365b617f5] by Carlos Antonio da Silva

June 22nd, 2010 @ 11:49 PM

Add the :path option to match routes when given as symbols. This is specially useful in http helpers for generating routes in scenarios like:

resources :users, :path => 'usuarios' do

get :search, :on => :collection, :path => 'pesquisar'

end

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/9651ca751c71cb132c47a32291b964...

Committed by Carlos Antonio da Silva

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

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>