Permalink
Browse files

Initialize @sub_templates

  • Loading branch information...
1 parent 699fb81 commit 04c4f47fed6ced3f4158107b7cc40a7ea1b4913c @miloops miloops committed Sep 28, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_view/template/error.rb
@@ -52,6 +52,7 @@ class Error < ActionViewError #:nodoc:
def initialize(template, assigns, original_exception)
@template, @assigns, @original_exception = template, assigns.dup, original_exception
+ @sub_templates = nil
@backtrace = original_exception.backtrace
end

0 comments on commit 04c4f47

Please sign in to comment.