diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-03-22 19:59:55 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-03-22 19:59:55 +0100 |
commit | 30f526865016ac4cc99e4df621198f544ab7c3a0 (patch) | |
tree | 64a97e03aa4d7f6e952c365f7e8ca7608b814198 | |
parent | 63f5a98bacbced546ec9dce7a44c908c664b2f55 (diff) | |
parent | 1d6b77cc4dcda6643f14e7b57eed121eedede84d (diff) | |
download | rails-30f526865016ac4cc99e4df621198f544ab7c3a0.tar.gz rails-30f526865016ac4cc99e4df621198f544ab7c3a0.tar.bz2 rails-30f526865016ac4cc99e4df621198f544ab7c3a0.zip |
Merge pull request #24275 from arekf/master
Fix typo for redirect_back (docs)
-rw-r--r-- | actionpack/lib/action_controller/metal/redirecting.rb | 2 |
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 b13ba06962..3c7cc15627 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -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 |