Mercurial > pub > Impl
diff Lib/IMPL/Web/View/TTLoader.pm @ 311:d3b5a67ad2e8
sync
author | cin |
---|---|
date | Mon, 22 Apr 2013 03:42:53 +0400 |
parents | 0a9d51cf6dfd |
children | 86336d451b82 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/TTLoader.pm Fri Apr 19 16:39:01 2013 +0400 +++ b/Lib/IMPL/Web/View/TTLoader.pm Mon Apr 22 03:42:53 2013 +0400 @@ -85,6 +85,8 @@ my $ctx = _clone_context($this->context); $this->context->delocalise(); + $ctx->stash->update($vars); + my $registry = TTRegistry->new($this, $ctx); my $factory = TTFactory->new($tt->class || TTDocument, $tt, $ctx, $name, $registry); @@ -92,7 +94,7 @@ $vars->{registry} = $registry; $vars->{layoutBase} = $this->layoutBase; - return $factory->new( $vars ); + return $factory->new( $vars ); }