The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Catalyst::ActionRole::RenderView - Call the default view

SYNOPSIS

    package Example::Controller::Root;

    use Moose;
    use MooseX::MethodAttributes;

    extends 'Catalyst::Controller';

    sub end : Action Does(RenderView) {}

DESCRIPTION

This is basically Catalyst::Action::RenderView done as an action role (basically a Moose role) rather than as a base class. This is a bit more flexible if you plan to do fancy stuff with your end action.

AUTHOR

  John Napiorkowski <jnapiork@cpan.org>
 

COPYRIGHT

Copyright (c) 2021 the above named AUTHOR

LICENSE

You may distribute this code under the same terms as Perl itself.