Permalink
Browse files

Don't pass hash as keys to #find method

  • Loading branch information...
1 parent c63b18d commit 48a6baea5ebb5539ab8ae9696cca6e95aac08a38 @lukaszx0 lukaszx0 committed Mar 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/digestor.rb
@@ -123,7 +123,7 @@ def partial?
def template
@template ||= begin
finder.variants = [ variant ]
- finder.find(logical_name, [], partial?, formats: [ format ])
+ finder.find(logical_name, [], partial?)
end
end

0 comments on commit 48a6bae

Please sign in to comment.