Skip to content

Commit

Permalink
Missing method_key.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Jun 30, 2006
1 parent 9444206 commit 546c04c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_view/base.rb
Expand Up @@ -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
Expand Down

0 comments on commit 546c04c

Please sign in to comment.