diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-30 01:56:29 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-30 01:56:29 +0000 |
commit | 546c04c6b45ccef6dd013e169f584a80361557ca (patch) | |
tree | a2a0ec4e29d190f769d6e009639c05e43a22befc /actionpack | |
parent | 9444206dd5cd254d924335c8c682fa3ded683ac0 (diff) | |
download | rails-546c04c6b45ccef6dd013e169f584a80361557ca.tar.gz rails-546c04c6b45ccef6dd013e169f584a80361557ca.tar.bz2 rails-546c04c6b45ccef6dd013e169f584a80361557ca.zip |
Missing method_key.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 0c6d81aa45..d3758f4583 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -513,11 +513,11 @@ module ActionView #:nodoc: 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 |