aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSUGINO Yasuhiro <suginoyasuhiro@gmail.com>2013-09-13 17:44:35 +0900
committerSUGINO Yasuhiro <suginoyasuhiro@gmail.com>2013-09-13 20:44:37 +0900
commit4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78 (patch)
tree535bd413184a171331eda7f371347036c012b00a /actionpack
parent489a0890b6dbb8c7954e2a3b120fe31de64f156c (diff)
downloadrails-4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78.tar.gz
rails-4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78.tar.bz2
rails-4a36eb64a5d26f4d95df8037a3ecb198a5c0ef78.zip
Fix typos: the indefinite articles(a -> an)
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing/redirection.rb2
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb2
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 0e5dc1fc6c..4389646f88 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?)