CatalystX-Declare

 view release on metacpan or  search on metacpan

t/lib/TestApp/Controller/ModifierSignatures.pm  view on Meta::CPAN

use CatalystX::Declare;

controller TestApp::Controller::ModifierSignatures 
    with TestApp::ControllerRole::ModifierSignatures {

    action base as 'modsig' under '/';

    final action foo (Int $x, Int $y) under base {
        $ctx->response->body( $ctx->action->reverse );
    }

    final action not_found (@) under base as '' {
        $ctx->response->body( 'Page Not Found' );
    }
}



( run in 0.757 second using v1.01-cache-2.11-cpan-71847e10f99 )