Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [0304bb182acaaf73e501a39fbf71d78dd28d0815] by Tammer Saleh

Revision 0304bb182acaaf73e501a39fbf71d78dd28d0815, committed by Repository · 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...

3 changed files

  • M actionpack/CHANGELOG
  • M actionpack/lib/action_controller/polymorphic_routes.rb
  • M actionpack/test/controller/polymorphic_routes_test.rb