mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
render :template is faster than render :file
This commit is contained in:
parent
9bc879d42a
commit
171172f324
2 changed files with 4 additions and 5 deletions
|
@ -6,5 +6,5 @@
|
|||
</h1>
|
||||
<pre><%=h @exception.message %></pre>
|
||||
|
||||
<%= render :file => "rescues/_trace.erb" %>
|
||||
<%= render :file => "rescues/_request_and_response.erb" %>
|
||||
<%= render :template => "rescues/_trace" %>
|
||||
<%= render :template => "rescues/_request_and_response" %>
|
||||
|
|
|
@ -13,6 +13,5 @@
|
|||
|
||||
<p><%=h @exception.sub_template_message %></p>
|
||||
|
||||
<%= render :file => "rescues/_trace.erb" %>
|
||||
|
||||
<%= render :file => "rescues/_request_and_response.erb" %>
|
||||
<%= render :template => "rescues/_trace" %>
|
||||
<%= render :template => "rescues/_request_and_response" %>
|
||||
|
|
Loading…
Reference in a new issue