From: Sebastian Riedel Date: Thu, 24 Mar 2005 02:04:54 +0000 (+0000) Subject: state update X-Git-Tag: 5.7099_04~1693 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6f060b780b7ff804165b1ff635a0244315b10b2;hp=0d03ce8654687f6fc0092c84840cad986c4afbb8;p=catagits%2FCatalyst-Runtime.git state update --- diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index 57c4054..41dc691 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -447,13 +447,13 @@ sub handler { my $results = $c->find_action( $action, $namespace ); if ( @{$results} ) { for my $begin ( @{ $c->find_action( '!begin', $namespace ) } ) { - $c->process( @{ $begin->[0] } ); + $c->state( $c->process( @{ $begin->[0] } ) ); } for my $result ( @{ $c->find_action( $action, $namespace ) } ) { - $c->process( @{ $result->[0] } ); + $c->state( $c->process( @{ $result->[0] } ) ); } for my $end ( @{ $c->find_action( '!end', $namespace ) } ) { - $c->process( @{ $end->[0] } ); + $c->state( $c->process( @{ $end->[0] } ) ); } } else {