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