[Catalyst] C:P:DefaultEnd and MyApp::Controller::Root::end()

Bernhard Graf catalyst at augensalat.de
Mon Jun 5 21:35:43 CEST 2006


Matt S Trout wrote:

> Just move the use base on Catalyst::Plugin::DefaultEnd to
> MyApp::Controller::Root.

You mean like this?

package MyApp::Controller::Root;  
use base qw/Catalyst::Controller Catalyst::Plugin::DefaultEnd/;

sub end : Private {
    my ($self, $c) = @_;
    ...
    $c->NEXT::end($c);
}

> Works fine.

Nope.
Now Catalyst::Plugin::DefaultEnd::end() is not called.
-- 
Bernhard Graf



More information about the Catalyst mailing list