From 6a6b4392c16c665eb713705f2b38e959a658eeef Mon Sep 17 00:00:00 2001 From: Cheah Chu Yeow Date: Sun, 20 Apr 2008 12:57:36 +0800 Subject: Ensure that default_url_options, if defined, are used in named routes. Signed-off-by: Michael Koziarski [#22 state:resolved] --- actionpack/lib/action_controller/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller/base.rb') 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). - #   + # # url_for is used to: - #   + # # All keys given to url_for are forwarded to the Route module, save for the following: # * :anchor -- specifies the anchor name to be appended to the path. For example, # url_for :controller => 'posts', :action => 'show', :id => 10, :anchor => 'comments' -- cgit v1.2.3