diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2010-06-22 19:29:07 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-23 00:49:15 +0200 |
commit | 9651ca751c71cb132c47a32291b9647365b617f5 (patch) | |
tree | 9b3cc69ef75712bc096e3062accab2e047b2e384 /activesupport/bin | |
parent | 61317b643ae4ff61d458eb273aa86f6f7e780433 (diff) | |
download | rails-9651ca751c71cb132c47a32291b9647365b617f5.tar.gz rails-9651ca751c71cb132c47a32291b9647365b617f5.tar.bz2 rails-9651ca751c71cb132c47a32291b9647365b617f5.zip |
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>
Diffstat (limited to 'activesupport/bin')
0 files changed, 0 insertions, 0 deletions