Mercurial > pub > Impl
comparison Lib/IMPL/Web/View/TTView.pm @ 401:16ff604298c7
minor fixes
| author | cin |
|---|---|
| date | Thu, 15 May 2014 18:24:28 +0400 |
| parents | 753e981782ce |
| children |
comparison
equal
deleted
inserted
replaced
| 400:ef37ec102dab | 401:16ff604298c7 |
|---|---|
| 35 sub display { | 35 sub display { |
| 36 my ($this,$model,$template,$args) = @_; | 36 my ($this,$model,$template,$args) = @_; |
| 37 | 37 |
| 38 my $context = Context->new($this->options); | 38 my $context = Context->new($this->options); |
| 39 eval { | 39 eval { |
| 40 warn $context->process('globals' . '.' . $this->tt_ext, $args); | 40 $context->process('globals' . '.' . $this->tt_ext, $args); |
| 41 }; | 41 }; |
| 42 my $layout = delete $args->{layout} || $this->layout; | 42 my $layout = delete $args->{layout} || $this->layout; |
| 43 | 43 |
| 44 return $context->invoke_environment( | 44 return $context->invoke_environment( |
| 45 sub { | 45 sub { |
