1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Warning removed for shadowing variable

This commit is contained in:
Arun Agrawal 2011-11-19 11:29:29 +05:30
parent 396ef44be4
commit d806ea2050

View file

@ -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