This project is archived and is in readonly mode.
Changeset [bae691f61ab8cf4a59adaee6406855e11d009c74] by Carlhuda
Revision bae691f61ab8cf4a59adaee6406855e11d009c74,
committed 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...
4 changed files
-
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