From df12a1b2413906ee38a977e3cbb325512c184837 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sun, 17 Feb 2019 17:43:39 -0800 Subject: remove another call to rendered_format= --- actionview/lib/action_view/digestor.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'actionview/lib/action_view') diff --git a/actionview/lib/action_view/digestor.rb b/actionview/lib/action_view/digestor.rb index ec75d861bb..9fa8d7eab1 100644 --- a/actionview/lib/action_view/digestor.rb +++ b/actionview/lib/action_view/digestor.rb @@ -48,8 +48,6 @@ module ActionView logical_name = name.gsub(%r|/_|, "/") if template = find_template(finder, logical_name, [], partial, []) - finder.rendered_format ||= template.formats.first - if node = seen[template.identifier] # handle cycles in the tree node else -- cgit v1.2.3