View is halfway there. Do we want to poke in $c->error? Maybe not.
Andrew Rodland [Fri, 4 Dec 2009 02:09:38 +0000 (20:09 -0600)]
lib/Catalyst/Action/Serialize/View.pm

index 7aa66df..baaec85 100644 (file)
@@ -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);