diff options
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 662aa09bb6..07fed278e2 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -982,11 +982,11 @@ module ActionController #:nodoc: # Redirects the browser to the target specified in +options+. This parameter can take one of three forms: # - # * <tt>Hash</tt>: The URL will be generated by calling url_for with the +options+. - # * <tt>Record</tt>: The URL will be generated by calling url_for with the +options+, which will reference a named URL for that record. - # * <tt>String starting with protocol:// (like http://)</tt>: Is passed straight through as the target for redirection. - # * <tt>String not containing a protocol</tt>: The current protocol and host is prepended to the string. - # * <tt>:back</tt>: Back to the page that issued the request. Useful for forms that are triggered from multiple places. + # * <tt>Hash</tt> - The URL will be generated by calling url_for with the +options+. + # * <tt>Record</tt> - The URL will be generated by calling url_for with the +options+, which will reference a named URL for that record. + # * <tt>String starting with protocol:// (like http://)</tt> - Is passed straight through as the target for redirection. + # * <tt>String not containing a protocol</tt> - The current protocol and host is prepended to the string. + # * <tt>:back</tt> - Back to the page that issued the request. Useful for forms that are triggered from multiple places. # Short-hand for redirect_to(request.env["HTTP_REFERER"]) # # Examples: |