diff 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
line wrap: on
line diff
--- 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(