This project is archived and is in readonly mode.

Changeset [bae691f61ab8cf4a59adaee6406855e11d009c74] by Carlhuda

February 26th, 2010 @ 11:20 PM

Change the API for setting global options for #url_for to self.url_options = { ... }

This attr_accessor can be set in a before filter or in the action itself.
Overwriting default_url_options still works but will output a deprecation notice.

http://github.com/rails/rails/commit/bae691f61ab8cf4a59adaee6406855...

Committed by Carlhuda

  • M actionpack/lib/action_controller/metal/url_for.rb
  • M actionpack/lib/action_controller/test_case.rb
  • M actionpack/lib/action_dispatch/routing/url_for.rb
  • M actionpack/lib/action_dispatch/testing/integration.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>