Mercurial > pub > Impl
comparison Lib/IMPL/Web/Handler/TTView.pm @ 281:a8dbddf491dd
refactoring
*IMPL::declare reset abstractProps static property after implementing these props
*IMPL::Serialization: fixed bug with multiple text parts inside one node
*IMPL::Web::Handler::TTView: removed obsolete property 'location' from 'view' template variable
author | cin |
---|---|
date | Mon, 11 Feb 2013 00:58:22 +0400 |
parents | 89179bb8c388 |
children | 546957c50a36 |
comparison
equal
deleted
inserted
replaced
280:c6d0f889ef87 | 281:a8dbddf491dd |
---|---|
45 $view = $result; | 45 $view = $result; |
46 } else { | 46 } else { |
47 $model = $result; | 47 $model = $result; |
48 $view = ViewResult->new(model => $model); | 48 $view = ViewResult->new(model => $model); |
49 } | 49 } |
50 | |
51 $view->location($action->context->{resourceLocation}) unless $view->location; | |
52 | 50 |
53 my $vars = { | 51 my $vars = { |
54 view => $view, | 52 view => $view, |
55 model => $model, | 53 model => $model, |
56 action => $action, | 54 action => $action, |