aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/rescue.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-06-25 05:57:24 -0500
committerJoshua Peek <josh@joshpeek.com>2008-06-25 05:57:24 -0500
commitad772402c46a79c2d38979cef754b26dbd868196 (patch)
treeef63065744f3a7bd5a079121c613a0f0acf90c04 /actionpack/lib/action_controller/rescue.rb
parent6f5327013d6353c50cadfe2160d1b526ad687633 (diff)
downloadrails-ad772402c46a79c2d38979cef754b26dbd868196.tar.gz
rails-ad772402c46a79c2d38979cef754b26dbd868196.tar.bz2
rails-ad772402c46a79c2d38979cef754b26dbd868196.zip
Made ActionView::Base#render_file private
Diffstat (limited to 'actionpack/lib/action_controller/rescue.rb')
-rw-r--r--actionpack/lib/action_controller/rescue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/rescue.rb b/actionpack/lib/action_controller/rescue.rb
index 40ef4ea044..163ed87fbb 100644
--- a/actionpack/lib/action_controller/rescue.rb
+++ b/actionpack/lib/action_controller/rescue.rb
@@ -178,7 +178,7 @@ module ActionController #:nodoc:
@template.instance_variable_set("@rescues_path", File.dirname(rescues_path("stub")))
@template.send!(:assign_variables_from_controller)
- @template.instance_variable_set("@contents", @template.render_file(template_path_for_local_rescue(exception), false))
+ @template.instance_variable_set("@contents", @template.render(:file => template_path_for_local_rescue(exception), :use_full_path => false))
response.content_type = Mime::HTML
render_for_file(rescues_path("layout"), response_code_for_rescue(exception))