aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template/resolver.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-12-09 14:06:44 +0100
committerJosé Valim <jose.valim@gmail.com>2010-12-09 14:06:44 +0100
commitd3f7e565d1a6ee15605971c3f3fea6e756a1ff99 (patch)
tree986be4065364f0ea25350c381feef7a9a97e3612 /actionpack/lib/action_view/template/resolver.rb
parent8e6d27641cf213a13d51491cecfbfa1d3c8822fd (diff)
downloadrails-d3f7e565d1a6ee15605971c3f3fea6e756a1ff99.tar.gz
rails-d3f7e565d1a6ee15605971c3f3fea6e756a1ff99.tar.bz2
rails-d3f7e565d1a6ee15605971c3f3fea6e756a1ff99.zip
Ensure resolvers backward compatibility.
Diffstat (limited to 'actionpack/lib/action_view/template/resolver.rb')
-rw-r--r--actionpack/lib/action_view/template/resolver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb
index 9f15661669..a17454da28 100644
--- a/actionpack/lib/action_view/template/resolver.rb
+++ b/actionpack/lib/action_view/template/resolver.rb
@@ -15,7 +15,7 @@ module ActionView
end
# Normalizes the arguments and passes it on to find_template.
- def find_all(name, prefix=nil, partial=false, details={}, locals=[], key=nil)
+ def find_all(name, prefix=nil, partial=false, details={}, key=nil, locals=[])
cached(key, [name, prefix, partial], details, locals) do
find_templates(name, prefix, partial, details)
end