diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-06-25 05:57:24 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-06-25 05:57:24 -0500 |
commit | ad772402c46a79c2d38979cef754b26dbd868196 (patch) | |
tree | ef63065744f3a7bd5a079121c613a0f0acf90c04 /actionpack/lib/action_controller/templates/rescues | |
parent | 6f5327013d6353c50cadfe2160d1b526ad687633 (diff) | |
download | rails-ad772402c46a79c2d38979cef754b26dbd868196.tar.gz rails-ad772402c46a79c2d38979cef754b26dbd868196.tar.bz2 rails-ad772402c46a79c2d38979cef754b26dbd868196.zip |
Made ActionView::Base#render_file private
Diffstat (limited to 'actionpack/lib/action_controller/templates/rescues')
-rw-r--r-- | actionpack/lib/action_controller/templates/rescues/diagnostics.erb | 4 | ||||
-rw-r--r-- | actionpack/lib/action_controller/templates/rescues/template_error.erb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/templates/rescues/diagnostics.erb b/actionpack/lib/action_controller/templates/rescues/diagnostics.erb index 032f945ed2..385c6c1b09 100644 --- a/actionpack/lib/action_controller/templates/rescues/diagnostics.erb +++ b/actionpack/lib/action_controller/templates/rescues/diagnostics.erb @@ -6,6 +6,6 @@ </h1> <pre><%=h @exception.clean_message %></pre> -<%= render_file(@rescues_path + "/_trace.erb", false) %> +<%= render(:file => @rescues_path + "/_trace.erb", :use_full_path => false) %> -<%= render_file(@rescues_path + "/_request_and_response.erb", false) %> +<%= render(:file => @rescues_path + "/_request_and_response.erb", :use_full_path => false) %> diff --git a/actionpack/lib/action_controller/templates/rescues/template_error.erb b/actionpack/lib/action_controller/templates/rescues/template_error.erb index eda64db3e9..4aecc68d18 100644 --- a/actionpack/lib/action_controller/templates/rescues/template_error.erb +++ b/actionpack/lib/action_controller/templates/rescues/template_error.erb @@ -15,7 +15,7 @@ <% @real_exception = @exception @exception = @exception.original_exception || @exception %> -<%= render_file(@rescues_path + "/_trace.erb", false) %> +<%= render(:file => @rescues_path + "/_trace.erb", :use_full_path => false) %> <% @exception = @real_exception %> -<%= render_file(@rescues_path + "/_request_and_response.erb", false) %> +<%= render(:file => @rescues_path + "/_request_and_response.erb", :use_full_path => false) %> |