Permalink
Browse files

Missing method_key.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 9444206 commit 546c04c6b45ccef6dd013e169f584a80361557ca @jeremy jeremy committed Jun 30, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/base.rb
@@ -513,11 +513,11 @@ def compile_template(extension, template, file_name, local_assigns)
logger.debug "Backtrace: #{e.backtrace.join("\n")}"
end
- raise TemplateError.new(@base_path, method_key, @assigns, template, e)
+ raise TemplateError.new(@base_path, file_name || template, @assigns, template, e)
end
@@compile_time[render_symbol] = Time.now
- # logger.debug "Compiled template #{method_key}\n ==> #{render_symbol}" if logger
+ # logger.debug "Compiled template #{file_name || template}\n ==> #{render_symbol}" if logger
end
end
end

0 comments on commit 546c04c

Please sign in to comment.