[Catalyst] New Root Controller in Catalyst 5.66

T. H. Lin easy.lin at gmail.com
Fri May 5 09:36:34 CEST 2006


> > # in MyApp/Controller/Root.pm
>
> use base qw/Catalyst::Controller Catalyst::Plugin::DefaultEnd/;
>
> > sub end : Private {
> >     my ( $self, $c ) = @_;
> >
> >     #code before view
> >
> >     $c->NEXT::end( $c );
> >
> >     #code after view
Catalyst 5.66
Catalyst::Plugin::ConfigLoader 0.06
Catalyst::Plugin::DefaultEnd 0.06

$c->NEXT::end($c) did not work. :(



More information about the Catalyst mailing list