Permalink
Browse files

Merge pull request #3689 from arunagw/warning_removed_actionpack

Warning removed for shadowing variable
  • Loading branch information...
2 parents 396ef44 + d806ea2 commit 89bbb6ce21324838d16afc1ea7220167fc3c80d8 @wycats wycats committed Nov 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1252,7 +1252,7 @@ def match(path, *rest)
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

0 comments on commit 89bbb6c

Please sign in to comment.