This project is archived and is in readonly mode.

Changeset [98fb161dbb13feb18165468aedf1581d5c2305f4] 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...

Committed by Tarmo Tänav

  • 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>