View is halfway there. Do we want to poke in $c->error? Maybe not.
[catagits/Catalyst-Action-REST.git] / 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);