From 3625dfaad5901e7595a3541c8ddfe890fefff0a6 Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Sat, 15 Oct 2005 19:05:15 +0000 Subject: Clean up error pages by providing better backtraces git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view/base.rb') diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index c4fb589063..c65faeafbd 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -405,7 +405,7 @@ module ActionView #:nodoc: begin unless file_name.blank? - CompiledTemplates.module_eval(render_source, File.expand_path(file_name), -line_offset) + CompiledTemplates.module_eval(render_source, file_name, -line_offset) else CompiledTemplates.module_eval(render_source, 'compiled-template', -line_offset) end -- cgit v1.2.3