1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Added reference to default value of allow_other_host [ci skip]

This commit is contained in:
Prathamesh Sonpatki 2017-12-17 12:52:37 +05:30
parent 7b1dfac291
commit f4d2a8a8ce
No known key found for this signature in database
GPG key ID: 8B90F6B89E2BCB71

View file

@ -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.