diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-01-01 13:44:34 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-01-01 13:44:34 -0200 |
commit | 171172f324444a9ea9c98e4f3663c6e401fb3ec7 (patch) | |
tree | 1dbc37c2e72af5770ce9bd9cd65315497a059eb1 /actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb | |
parent | 9bc879d42a39971f26bda182ca01af30fc70a46e (diff) | |
download | rails-171172f324444a9ea9c98e4f3663c6e401fb3ec7.tar.gz rails-171172f324444a9ea9c98e4f3663c6e401fb3ec7.tar.bz2 rails-171172f324444a9ea9c98e4f3663c6e401fb3ec7.zip |
render :template is faster than render :file
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb index bd6ffbab5d..50d8ca9484 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb @@ -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" %> |