diff options
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 4 |
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." |