aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2017-12-17 12:52:37 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2017-12-17 12:53:39 +0530
commitf4d2a8a8ced85f06bbf0e37b6b6005a2e1b5421a (patch)
tree25564241838c7b07dd8029862fb91ecebe357655 /actionpack
parent7b1dfac29146ddda82d1ee226cdb8ef281013502 (diff)
downloadrails-f4d2a8a8ced85f06bbf0e37b6b6005a2e1b5421a.tar.gz
rails-f4d2a8a8ced85f06bbf0e37b6b6005a2e1b5421a.tar.bz2
rails-f4d2a8a8ced85f06bbf0e37b6b6005a2e1b5421a.zip
Added reference to default value of `allow_other_host` [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/redirecting.rb2
1 files changed, 1 insertions, 1 deletions
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
# * <tt>:fallback_location</tt> - The default fallback location that will be used on missing +Referer+ header.
- # * <tt>:allow_other_host</tt> - Allows or disallow redirection to the host that is different to the current host
+ # * <tt>:allow_other_host</tt> - 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 <tt>redirect_to</tt> are accepted as
# options and the behavior is identical.