Skip to content

Commit

Permalink
Merge pull request rails#3689 from arunagw/warning_removed_actionpack
Browse files Browse the repository at this point in the history
Warning removed for shadowing variable
  • Loading branch information
wycats committed Nov 19, 2011
2 parents 396ef44 + d806ea2 commit 89bbb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/routing/mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 89bbb6c

Please sign in to comment.