This project is archived and is in readonly mode.
Changeset [5a02f0bccf55191c2cfbcc69bd8165df6d7a2012] by Tom Lea
Revision 5a02f0bccf55191c2cfbcc69bd8165df6d7a2012,
committed by Tom Lea
· November 1st, 2008 @ 06:06 PM
Cleaned up route optimisation guard condition generation code as it was getting a little messy.
Add additional condition to handle the case where default_url_options is only defined in the controller, not the view.
Signed-off-by: Michael Koziarski michael@koziarski.com http://github.com/rails/rails/co...
2 changed files
-
M
actionpack/lib/action_controller/routing/optimisations.rb -
M
actionpack/test/template/url_helper_test.rb