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:
parent
a3a98606f3
commit
df12a1b241
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue