From f81dae3fca46c43d1fb6e4cb40734ef35623a72e Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Mon, 3 Sep 2007 00:18:30 +0000 Subject: Remove deprecated functionality from actionpack. Closes #8958 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/rescue.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/rescue.rb') diff --git a/actionpack/lib/action_controller/rescue.rb b/actionpack/lib/action_controller/rescue.rb index 3ab10107bf..8eb6379fcf 100644 --- a/actionpack/lib/action_controller/rescue.rb +++ b/actionpack/lib/action_controller/rescue.rb @@ -125,7 +125,7 @@ module ActionController #:nodoc: @template.instance_variable_set("@contents", @template.render_file(template_path_for_local_rescue(exception), false)) response.content_type = Mime::HTML - render_file(rescues_path("layout"), response_code_for_rescue(exception)) + render_for_file(rescues_path("layout"), response_code_for_rescue(exception)) end private -- cgit v1.2.3