diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2014-03-12 15:43:09 +0100 |
---|---|---|
committer | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2014-03-14 13:18:20 +0100 |
commit | 48a6baea5ebb5539ab8ae9696cca6e95aac08a38 (patch) | |
tree | e9aba4ce1e5961702ece410b2db4859bfae68340 /actionview | |
parent | c63b18de1865182e027a97ea4186717a71792b81 (diff) | |
download | rails-48a6baea5ebb5539ab8ae9696cca6e95aac08a38.tar.gz rails-48a6baea5ebb5539ab8ae9696cca6e95aac08a38.tar.bz2 rails-48a6baea5ebb5539ab8ae9696cca6e95aac08a38.zip |
Don't pass hash as keys to #find method
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/digestor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/digestor.rb b/actionview/lib/action_view/digestor.rb index df6e7bba60..6ef962383d 100644 --- a/actionview/lib/action_view/digestor.rb +++ b/actionview/lib/action_view/digestor.rb @@ -123,7 +123,7 @@ module ActionView def template @template ||= begin finder.variants = [ variant ] - finder.find(logical_name, [], partial?, formats: [ format ]) + finder.find(logical_name, [], partial?) end end |