1 package Catalyst::Action::Serialize::View;
5 use base 'Catalyst::Action';
9 my ( $controller, $c, $view ) = @_;
12 $controller->config->{'serialize'} ?
13 $controller->config->{'serialize'}->{'stash_key'} :
14 $controller->config->{'stash_key'}
17 if ( !$c->view($view) ) {
18 $c->log->error("Could not load $view, refusing to serialize");
22 return $c->view($view)->process($c);