comparison Lib/IMPL/Web/View/TTDocument.pm @ 212:292226770180

bugfixes
author sergey
date Fri, 29 Jun 2012 19:24:15 +0400
parents 7a920771fd8e
children 5c82eec23bb6
comparison
equal deleted inserted replaced
211:2b9b55cfb79b 212:292226770180
117 117
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 content => sub { $output ||= $this->RenderContent($args); }, 123 content => sub { $output ||= $this->RenderContent($args); },
123 this => $this, 124 this => $this,
124 template => $this->template 125 template => $this->template
125 } 126 }
126 ); 127 );