diff options
author | Emilio Tagua <miloops@gmail.com> | 2010-09-28 15:33:48 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2010-09-28 15:33:48 -0300 |
commit | 04c4f47fed6ced3f4158107b7cc40a7ea1b4913c (patch) | |
tree | e239ecd88aae5b033ef35f34768410eaaf73809f /actionpack | |
parent | 699fb81def8f0d242962a81d2f492c6a8eed4211 (diff) | |
download | rails-04c4f47fed6ced3f4158107b7cc40a7ea1b4913c.tar.gz rails-04c4f47fed6ced3f4158107b7cc40a7ea1b4913c.tar.bz2 rails-04c4f47fed6ced3f4158107b7cc40a7ea1b4913c.zip |
Initialize @sub_templates
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/template/error.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/template/error.rb b/actionpack/lib/action_view/template/error.rb index b1839b65e5..423e1e0bf5 100644 --- a/actionpack/lib/action_view/template/error.rb +++ b/actionpack/lib/action_view/template/error.rb @@ -52,6 +52,7 @@ module ActionView def initialize(template, assigns, original_exception) @template, @assigns, @original_exception = template, assigns.dup, original_exception + @sub_templates = nil @backtrace = original_exception.backtrace end |