From f4d2a8a8ced85f06bbf0e37b6b6005a2e1b5421a Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sun, 17 Dec 2017 12:52:37 +0530 Subject: Added reference to default value of `allow_other_host` [ci skip] --- actionpack/lib/action_controller/metal/redirecting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/metal') diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index 87a2e29a3f..4c2b5120eb 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -83,7 +83,7 @@ module ActionController # # ==== Options # * :fallback_location - The default fallback location that will be used on missing +Referer+ header. - # * :allow_other_host - Allows or disallow redirection to the host that is different to the current host + # * :allow_other_host - Allow or disallow redirection to the host that is different to the current host, defaults to true. # # All other options that can be passed to redirect_to are accepted as # options and the behavior is identical. -- cgit v1.2.3