From 777142d3a7b9ea36fcc8562613749299ac6dc243 Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Tue, 28 Oct 2014 11:05:54 -0700 Subject: Typos in the deprecation message --- actionpack/lib/action_dispatch/routing/route_set.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_dispatch') 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." -- cgit v1.2.3