[Catalyst] New Root Controller in Catalyst 5.66

Matt S Trout dbix-class at trout.me.uk
Fri May 5 15:09:15 CEST 2006


T. H. Lin wrote:
>>> # 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. :(

Did you change your code to match what I suggested? I'm using this in 
half a dozen apps, so it definitely *does* work if you get it right.



More information about the Catalyst mailing list