NAME
MojoX::FilterChain::Constants - constants for the intercepting filter classes
SYNOPSIS
use MojoX::FilterChain::Constants;
sub run {
my ( $self, $c ) = @_;
$c->app->routes->dispatch($c);
return $c->res->code ? LAST : NEXT;
}
DESCRIPTION
MojoX::FilterChain::Constants exports LAST and NEXT constants. They are used by filter to tell filter manager when there is need for interception.