diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-13 05:55:28 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-13 05:55:28 -0700 |
commit | d891c19066bba3a614a27a92d55968174738e755 (patch) | |
tree | 225baa5c17095a8b3815538689ca2d88d2b63c13 /actionpack/lib | |
parent | 1eebfc9f66149020efe23a620da110424e5a5c33 (diff) | |
parent | 4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78 (diff) | |
download | rails-d891c19066bba3a614a27a92d55968174738e755.tar.gz rails-d891c19066bba3a614a27a92d55968174738e755.tar.bz2 rails-d891c19066bba3a614a27a92d55968174738e755.zip |
Merge pull request #12216 from suginoy/a-an
Fix typos: the indefinite articles(a -> an).
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/redirection.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/redirection.rb b/actionpack/lib/action_dispatch/routing/redirection.rb index d751e04e6a..68094f129f 100644 --- a/actionpack/lib/action_dispatch/routing/redirection.rb +++ b/actionpack/lib/action_dispatch/routing/redirection.rb @@ -17,7 +17,7 @@ module ActionDispatch def call(env) req = Request.new(env) - # If any of the path parameters has a invalid encoding then + # If any of the path parameters has an invalid encoding then # raise since it's likely to trigger errors further on. req.symbolized_path_parameters.each do |key, value| unless value.valid_encoding? diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 943fc15026..b8abdabca5 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -28,7 +28,7 @@ module ActionDispatch def call(env) params = env[PARAMETERS_KEY] - # If any of the path parameters has a invalid encoding then + # If any of the path parameters has an invalid encoding then # raise since it's likely to trigger errors further on. params.each do |key, value| next unless value.respond_to?(:valid_encoding?) |