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