aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2014-10-28 11:05:54 -0700
committerGodfrey Chan <godfreykfc@gmail.com>2014-10-28 11:05:54 -0700
commit777142d3a7b9ea36fcc8562613749299ac6dc243 (patch)
tree69fd15e239f7cb7f1abe95103a358794b4e54ed7 /actionpack/lib/action_dispatch/routing
parent0cd6c0842d6e003c49b3ea549b9a7d4be182c02a (diff)
downloadrails-777142d3a7b9ea36fcc8562613749299ac6dc243.tar.gz
rails-777142d3a7b9ea36fcc8562613749299ac6dc243.tar.bz2
rails-777142d3a7b9ea36fcc8562613749299ac6dc243.zip
Typos in the deprecation message
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index 8d4a3c5670..6acee80513 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -327,7 +327,7 @@ module ActionDispatch
if options[:only_path]
ActiveSupport::Deprecation.warn \
"You are calling a `*_path` helper with the `only_path` option " \
- "expicitly set to `true`. This option will stop working on " \
+ "explicitly set to `true`. This option will stop working on " \
"path helpers in Rails 5. Simply remove the `only_path: true` " \
"argument from your call as it is redundant when applied to a " \
"path helper."
@@ -336,7 +336,7 @@ module ActionDispatch
else
ActiveSupport::Deprecation.warn \
"You are calling a `*_path` helper with the `only_path` option " \
- "expicitly set to `false`. This option will stop working on " \
+ "explicitly set to `false`. This option will stop working on " \
"path helpers in Rails 5. Use the corresponding `*_url` helper " \
"instead."