This project is archived and is in readonly mode.
Changeset [b2c2b0ce459a215d389f3ab8bb9e33718460cf51] by José Valim
March 26th, 2010 @ 02:51 PM
Rails router automatically calculated for you the controller and named routes in the following scenarios:
match "home/about" #=> maps to home#about with named route home_about_path match "about" #=> does not work because it cannot guess the controller match "about" => "home#about" #=> maps to home#about with named route home_about_path match "home/about", :as => "about" #=> maps to home#about with named route about_path http://github.com/rails/rails/commit/b2c2b0ce459a215d389f3ab8bb9e33...
Committed by José Valim
- 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>