Permalink
Browse files

be explicit about arguments passed around

  • Loading branch information...
1 parent 5680a51 commit 0b212117e60bf6778def3bd9c2521f92f0c74c73 @tenderlove tenderlove committed Aug 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/path_set.rb
@@ -25,8 +25,8 @@ def find_all(path, prefixes = [], *args)
[]
end
- def exists?(*args)
- find_all(*args).any?
+ def exists?(path, prefixes, *args)
+ find_all(path, prefixes, *args).any?
end
protected

0 comments on commit 0b21211

Please sign in to comment.