diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2019-02-17 17:43:39 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2019-02-17 17:43:39 -0800 |
commit | df12a1b2413906ee38a977e3cbb325512c184837 (patch) | |
tree | f48d9f1ad918f89a11b01e66938cba70f4a60949 /actionview/lib/action_view | |
parent | a3a98606f30e5d2b08419e0dcd1962fc52974c29 (diff) | |
download | rails-df12a1b2413906ee38a977e3cbb325512c184837.tar.gz rails-df12a1b2413906ee38a977e3cbb325512c184837.tar.bz2 rails-df12a1b2413906ee38a977e3cbb325512c184837.zip |
remove another call to rendered_format=
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/digestor.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |