1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

remove another call to rendered_format=

This commit is contained in:
Aaron Patterson 2019-02-17 17:43:39 -08:00
parent a3a98606f3
commit df12a1b241
No known key found for this signature in database
GPG key ID: 953170BCB4FFAFC6

View file

@ -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