aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2011-11-19 11:29:29 +0530
committerArun Agrawal <arunagw@gmail.com>2011-11-19 11:29:29 +0530
commitd806ea20506f824efbe2c8b69928929977cc3a59 (patch)
treebac5fa6f04e96bfa8de94b248782340b10fb654d /actionpack/lib/action_dispatch/routing
parent396ef44be48dbcbc75d313980d0ba272a6200099 (diff)
downloadrails-d806ea20506f824efbe2c8b69928929977cc3a59.tar.gz
rails-d806ea20506f824efbe2c8b69928929977cc3a59.tar.bz2
rails-d806ea20506f824efbe2c8b69928929977cc3a59.zip
Warning removed for shadowing variable
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index 21624bcfc2..e3ad3f9ba7 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1252,7 +1252,7 @@ module ActionDispatch
raise ArgumentError, "Unknown scope #{on.inspect} given to :on"
end
- paths.each { |path| decomposed_match(path, options.dup) }
+ paths.each { |_path| decomposed_match(_path, options.dup) }
self
end