Catalyst::ActionRole::Renderer - Rendering views for Catalyst action
package MyApp::Controller::Root;
use Moose;
use namespace::autoclean;
BEGIN { extends 'Catalyst::Controller'; }
sub lookup :Local :Does(Renderer) :View(TT) {
my ( $self, $c ) = @_;
$c->stash->{template} = 'helloworld.tt';
}
Catalyst::ActionRole::Renderer is rendering views for Catalyst action.
capable of declaratively rendering views.
- No
$c.forward
- No
sub end : ActionClass('RenderView') {}
Masaaki Saito masakyst.public@gmail.com
Copyright 2017- Masaaki Saito
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.