Mercurial > pub > Impl
comparison Lib/IMPL/Web/Handler/TTView.pm @ 243:cd2b1f121029
*TTView: fixed template selection based on the model type
author | sergey |
---|---|
date | Fri, 19 Oct 2012 02:23:15 +0400 |
parents | f48a1a9f4fa2 |
children | a02b110da931 |
comparison
equal
deleted
inserted
replaced
242:fe9d62d9054d | 243:cd2b1f121029 |
---|---|
62 return Factory->new($class); | 62 return Factory->new($class); |
63 } | 63 } |
64 }; | 64 }; |
65 | 65 |
66 my $doc = | 66 my $doc = |
67 $this->loader->document( $this->SelectView( $action, ref $result ), | 67 $this->loader->document( $this->SelectView( $action, ref $model ), |
68 $vars ); | 68 $vars ); |
69 | 69 |
70 return HttpResponse->new( | 70 return HttpResponse->new( |
71 type => $this->contentType, | 71 type => $this->contentType, |
72 charset => $this->contentCharset, | 72 charset => $this->contentCharset, |