comparison 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
comparison
equal deleted inserted replaced
243:cd2b1f121029 244:a02b110da931
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 50
51 51 $view->location($action->context->{resourceLocation}) unless $view->location;
52
52 my $vars = { 53 my $vars = {
53 view => $view, 54 view => $view,
54 model => $model, 55 model => $model,
55 action => $action, 56 action => $action,
56 app => $action->application, 57 app => $action->application,