Yehuda Katz
8247bd9d3e
The instance_reader of default_url_options needs to not exist.
2010-02-27 00:18:16 -08:00
Carlhuda
bae691f61a
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.
2010-02-26 15:20:41 -08:00
Carlhuda
224c0318bd
Remove the :use_defaults check in UrlFor#merge options
2010-02-26 15:04:51 -08:00
Carlhuda
36fd9efb5e
Continued effort to deglobalize the router
2010-02-25 17:53:01 -08:00
Carlhuda
226dfc2681
WIP: Remove the global router
2010-02-25 17:53:00 -08:00