This project is archived and is in readonly mode.

Changeset [0304bb182acaaf73e501a39fbf71d78dd28d0815] by Tammer Saleh

June 23rd, 2008 @ 03:07 AM

Fixed polymorphic_url to be able to handle singleton resources.

Example usage:

polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post)

[#461 state:resolved]

http://github.com/rails/rails/co...

Committed by Repository

  • M actionpack/CHANGELOG
  • M actionpack/lib/action_controller/polymorphic_routes.rb
  • M actionpack/test/controller/polymorphic_routes_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>