This project is archived and is in readonly mode.

Changeset [bb6e8eea5a8190aaab67da0a7efedb3bb3d9fccb] by Tammer Saleh

June 23rd, 2008 @ 02:58 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>