comparison Lib/IMPL/Web/Handler/View.pm @ 354:9330835535b9

fixed view double rendering
author cin
date Wed, 16 Oct 2013 17:28:40 +0400
parents feeb3bc4a818
children 833e663796c4
comparison
equal deleted inserted replaced
353:feeb3bc4a818 354:9330835535b9
58 env => _cached($action->context->{environment}), 58 env => _cached($action->context->{environment}),
59 location => $action->context->{resourceLocation}, 59 location => $action->context->{resourceLocation},
60 layout => $this->layout 60 layout => $this->layout
61 }; 61 };
62 62
63 $this->view->display(
64 $model,
65 $template || $this->SelectView( $action, ref $model ),
66 $vars
67 );
68
69 my %responseParams = ( 63 my %responseParams = (
70 type => $this->contentType, 64 type => $this->contentType,
71 charset => $this->contentCharset, 65 charset => $this->contentCharset,
72 body => $this->view->display( 66 body => $this->view->display(
73 $model, 67 $model,