# HG changeset patch # User sergey # Date 1350598995 -14400 # Node ID cd2b1f1210291b2de808f6badf8269f1d730ffe2 # Parent fe9d62d9054da3e7c44a0ef4aaaeec9c7344f311 *TTView: fixed template selection based on the model type diff -r fe9d62d9054d -r cd2b1f121029 Lib/IMPL/Transform.pm --- a/Lib/IMPL/Transform.pm Thu Oct 18 20:02:51 2012 +0400 +++ b/Lib/IMPL/Transform.pm Fri Oct 19 02:23:15 2012 +0400 @@ -65,6 +65,7 @@ push @isa, @{"${sclass}::ISA"}; } + ; }; } } diff -r fe9d62d9054d -r cd2b1f121029 Lib/IMPL/Web/Handler/TTView.pm --- a/Lib/IMPL/Web/Handler/TTView.pm Thu Oct 18 20:02:51 2012 +0400 +++ b/Lib/IMPL/Web/Handler/TTView.pm Fri Oct 19 02:23:15 2012 +0400 @@ -64,7 +64,7 @@ }; my $doc = - $this->loader->document( $this->SelectView( $action, ref $result ), + $this->loader->document( $this->SelectView( $action, ref $model ), $vars ); return HttpResponse->new(