Mercurial > pub > Impl
comparison Lib/IMPL/Web/View/TTDocument.pm @ 234:2530d1bb9638
sync
author | sergey |
---|---|
date | Thu, 11 Oct 2012 20:11:45 +0400 |
parents | 5c82eec23bb6 |
children | 2904da230022 |
comparison
equal
deleted
inserted
replaced
233:3cebcf6fdb9b | 234:2530d1bb9638 |
---|---|
118 if ($this->layout) { | 118 if ($this->layout) { |
119 $output = $this->context->include( | 119 $output = $this->context->include( |
120 $this->loader->layout($this->layout), | 120 $this->loader->layout($this->layout), |
121 { | 121 { |
122 %{$args || {}}, | 122 %{$args || {}}, |
123 content => sub { $output ||= $this->RenderContent($args); }, | 123 content => sub { $this->RenderContent($args); }, |
124 this => $this, | 124 this => $this, |
125 template => $this->template | 125 template => $this->template |
126 } | 126 } |
127 ); | 127 ); |
128 } else { | 128 } else { |