Separated execute and dispatch on Catalyst::Action
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Dispatcher.pm
index 96dc2ad..c03f1b3 100644 (file)
@@ -159,7 +159,7 @@ sub forward {
     #push @$args, @_;
 
     local $c->request->{arguments} = $args;
-    $action->execute($c);
+    $action->dispatch( $c );
 
     return $c->state;
 }