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

Matt S Trout dbix-class at trout.me.uk
Mon Jun 5 21:04:08 CEST 2006


Bernhard Graf wrote:
> The default setup in current Catalyst from CPAN puts the final end() 
> action into MyApp::Controller::Root.
> 
> Recent docs (Manual::Cookbook in SVN) give advice how to use DefaultEnd 
> and custom end() together.
> 
> This does not work in the current CPAN Cat (5.6902) though - you have to 
> move your end() to MyApp.pm else it is not called.
> 
> Please ignore, if this has already been fixed in trunk.

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

Works fine.



More information about the Catalyst mailing list