Permalink
Browse files

Warning removed for shadowing variable

  • Loading branch information...
1 parent 396ef44 commit d806ea20506f824efbe2c8b69928929977cc3a59 @arunagw arunagw 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 d806ea2

Please sign in to comment.