diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-08 19:29:12 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-08 19:29:12 -0700 |
commit | 0b212117e60bf6778def3bd9c2521f92f0c74c73 (patch) | |
tree | 7107f8547cf3a511fd94c9007ba958a309705555 | |
parent | 5680a51dcbaf4239b53481fd1ae39a6f4ee4034d (diff) | |
download | rails-0b212117e60bf6778def3bd9c2521f92f0c74c73.tar.gz rails-0b212117e60bf6778def3bd9c2521f92f0c74c73.tar.bz2 rails-0b212117e60bf6778def3bd9c2521f92f0c74c73.zip |
be explicit about arguments passed around
-rw-r--r-- | actionpack/lib/action_view/path_set.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/path_set.rb b/actionpack/lib/action_view/path_set.rb index e0cb5d6a70..37b3abbdc9 100644 --- a/actionpack/lib/action_view/path_set.rb +++ b/actionpack/lib/action_view/path_set.rb @@ -25,8 +25,8 @@ module ActionView #:nodoc: [] end - def exists?(*args) - find_all(*args).any? + def exists?(path, prefixes, *args) + find_all(path, prefixes, *args).any? end protected |