This project is archived and is in readonly mode.
Changeset [b53efd21059b9d829a6617fb5b2dd86754684c60] by Piotr Sarnacki
September 3rd, 2010 @ 09:59 PM
Extended url_for to handle specifying which router should be used.
A few examples:
url_for Blog::Engine, :posts_path
url_for Blog::Engine, @post
url_for Blog::Engine, :action => "main", :controller =>
"index"
http://github.com/rails/rails/commit/b53efd21059b9d829a6617fb5b2dd8...
Committed by Piotr Sarnacki
- A actionpack/test/dispatch/url_for_test.rb
- M actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
- M actionpack/lib/action_dispatch/routing/route_set.rb
- M actionpack/lib/action_dispatch/routing/url_for.rb
- M actionpack/test/dispatch/url_generation_test.rb
- M actionpack/test/template/form_helper_test.rb
- M actionpack/test/template/test_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>