diff options
author | Cheah Chu Yeow <chuyeow@gmail.com> | 2008-04-20 12:57:36 +0800 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-05-04 12:49:44 +1200 |
commit | 6a6b4392c16c665eb713705f2b38e959a658eeef (patch) | |
tree | e5769a86f89bcfb084726be42bad07d365dee5ac /actionpack/lib/action_controller/base.rb | |
parent | 437f918646fd141fd57350f55a8890b18ebfb148 (diff) | |
download | rails-6a6b4392c16c665eb713705f2b38e959a658eeef.tar.gz rails-6a6b4392c16c665eb713705f2b38e959a658eeef.tar.bz2 rails-6a6b4392c16c665eb713705f2b38e959a658eeef.zip |
Ensure that default_url_options, if defined, are used in named routes.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#22 state:resolved]
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 42863e3f4c..6b5914c4dd 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -532,9 +532,9 @@ module ActionController #:nodoc: # Returns a URL that has been rewritten according to the options hash and the defined Routes. # (For doing a complete redirect, use redirect_to). - # + # # <tt>url_for</tt> is used to: - # + # # All keys given to url_for are forwarded to the Route module, save for the following: # * <tt>:anchor</tt> -- specifies the anchor name to be appended to the path. For example, # <tt>url_for :controller => 'posts', :action => 'show', :id => 10, :anchor => 'comments'</tt> |