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/rescue.rb | |
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/rescue.rb')
-rw-r--r-- | actionpack/lib/action_controller/rescue.rb | 2 |
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)) |