diff Lib/IMPL/Web/Handler/TTView.pm @ 244:a02b110da931

refactoring fixed binding to CGI query parameters with multiple values
author sergey
date Mon, 22 Oct 2012 04:09:27 +0400
parents cd2b1f121029
children 32aceba4ee6d
line wrap: on
line diff
--- a/Lib/IMPL/Web/Handler/TTView.pm	Fri Oct 19 02:23:15 2012 +0400
+++ b/Lib/IMPL/Web/Handler/TTView.pm	Mon Oct 22 04:09:27 2012 +0400
@@ -48,7 +48,8 @@
         $view = ViewResult->new(model => $model);
     }
     
-
+    $view->location($action->context->{resourceLocation}) unless $view->location;
+    
     my $vars = {
         view        => $view,
         model       => $model,