[Catalyst] C:P:DefaultEnd and MyApp::Controller::Root::end()
Matt S Trout
dbix-class at trout.me.uk
Mon Jun 5 23:15:35 CEST 2006
Bernhard Graf wrote:
> Matt S Trout wrote:
>
>> $self->NEXT::end($c);
>
>> See above. Calling the method on the correct object usually helps :)
>
> Doh!
>
> Works now.
>
> Anyway - this approach is not intuitive - at least documentation in
> Manual::Cookbook should be corrected.
The next release of Catalyst (5.70) will include the :ActionClass syntax
addition, and DefaultEnd will be deprecated in favour of
sub end :ActionClass('RenderView') { }
so this won't continue to be an issue.
More information about the Catalyst
mailing list