diff options
author | Ryan Bates <ryan@railscasts.com> | 2008-08-21 21:02:10 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-08-21 21:03:33 -0500 |
commit | 1129a24caff9f1804c2bff6569c0cbd8598dfa86 (patch) | |
tree | 14a20c4c8e6e5fd05cad221de2231aefa40b849d /actionpack/lib/action_controller/rescue.rb | |
parent | e6a66cbd056f177f7e60341799aa95791fcfa19d (diff) | |
download | rails-1129a24caff9f1804c2bff6569c0cbd8598dfa86.tar.gz rails-1129a24caff9f1804c2bff6569c0cbd8598dfa86.tar.bz2 rails-1129a24caff9f1804c2bff6569c0cbd8598dfa86.zip |
Cleanup around partial rendering
Signed-off-by: Joshua Peek <josh@joshpeek.com>
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 482ac7d7a4..a1a9d68a35 100644 --- a/actionpack/lib/action_controller/rescue.rb +++ b/actionpack/lib/action_controller/rescue.rb @@ -182,7 +182,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), :use_full_path => false)) + @template.instance_variable_set("@contents", @template.render(:file => template_path_for_local_rescue(exception))) response.content_type = Mime::HTML render_for_file(rescues_path("layout"), response_code_for_rescue(exception)) |