mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typo for redirect_back
indetical -> identical [skip ci]
This commit is contained in:
parent
63f5a98bac
commit
1d6b77cc4d
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ module ActionController
|
|||
# redirect_back fallback_location: proc { edit_post_url(@post) }
|
||||
#
|
||||
# All options that can be passed to <tt>redirect_to</tt> are accepted as
|
||||
# options and the behavior is indetical.
|
||||
# options and the behavior is identical.
|
||||
def redirect_back(fallback_location:, **args)
|
||||
if referer = request.headers["Referer"]
|
||||
redirect_to referer, **args
|
||||
|
|
Loading…
Reference in a new issue