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 [98fb161dbb13feb18165468aedf1581d5c2305f4] by Tarmo Tänav

Revision 98fb161dbb13feb18165468aedf1581d5c2305f4, committed by Tarmo Tänav · August 21st, 2008 @ 08:26 PM

Allow polymorphic_url helper to take url options. [#880 state:resolved]

All _polymorphic_url, _polymorphic_path helpers can now accept an options hash which will be passed on to the named route making it possible to generate polymorphic routes with additional url parameters.

Signed-off-by: Pratik Naik pratiknaik@gmail.com 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