The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

CatalystX::Controller::ExtJS::Direct - Role to identify ExtJS::Direct controllers

VERSION

version 2.1.5

SYNOPSIS

use Moose;
BEGIN { extends 'Catalyst::Controller' };
sub sum : Local : Direct {
my ($self, $c) = @_;
$c->res->body( $c->req->param('a') + $c->req->param('b') );
}
1;

DESCRIPTION

Apply this role to any Catalyst controller to enable Ext.Direct actions.

ATTRIBUTES

is_direct

This attribute is for duck typing only and is always 1.

AUTHOR

Moritz Onken <onken@netcubed.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Moritz Onken.

This is free software, licensed under:

The (three-clause) BSD License