This project is archived and is in readonly mode.

Changeset [5a02f0bccf55191c2cfbcc69bd8165df6d7a2012] 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...

Committed by Tom Lea

  • M actionpack/lib/action_controller/routing/optimisations.rb
  • M actionpack/test/template/url_helper_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>