aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorArkadiusz Fal <arek@arekf.net>2016-03-22 19:21:24 +0100
committerArkadiusz Fal <arek@arekf.net>2016-03-22 19:21:24 +0100
commit1d6b77cc4dcda6643f14e7b57eed121eedede84d (patch)
tree64a97e03aa4d7f6e952c365f7e8ca7608b814198 /actionpack
parent63f5a98bacbced546ec9dce7a44c908c664b2f55 (diff)
downloadrails-1d6b77cc4dcda6643f14e7b57eed121eedede84d.tar.gz
rails-1d6b77cc4dcda6643f14e7b57eed121eedede84d.tar.bz2
rails-1d6b77cc4dcda6643f14e7b57eed121eedede84d.zip
Fix typo for redirect_back
indetical -> identical [skip ci]
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 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