From: Andrew Rodland Date: Fri, 4 Dec 2009 02:09:38 +0000 (-0600) Subject: View is halfway there. Do we want to poke in $c->error? Maybe not. X-Git-Tag: 0.80~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=commitdiff_plain;h=58c1c5f55deae2aacef7d0662acb4aa41a6786bd;hp=7f36b63e1e7aca928955af6da4c18ac76d7afd4c View is halfway there. Do we want to poke in $c->error? Maybe not. --- diff --git a/lib/Catalyst/Action/Serialize/View.pm b/lib/Catalyst/Action/Serialize/View.pm index 7aa66df..baaec85 100644 --- a/lib/Catalyst/Action/Serialize/View.pm +++ b/lib/Catalyst/Action/Serialize/View.pm @@ -16,7 +16,7 @@ sub execute { if ( !$c->view($view) ) { $c->log->error("Could not load $view, refusing to serialize"); - return 0; + return; } return $c->view($view)->process($c, $stash_key);