D:D has fixed the method invocation issue now
[catagits/CatalystX-Declare.git] / t / lib / TestApp / Controller / ModifierSignatures.pm
1 use CatalystX::Declare;
2
3 controller TestApp::Controller::ModifierSignatures 
4     with TestApp::ControllerRole::ModifierSignatures {
5
6     action base as 'modsig' under '/';
7
8     final action foo (Int $x, Int $y) under base {
9         $ctx->response->body( $ctx->action->reverse );
10     }
11
12     final action not_found (@) under base as '' {
13         $ctx->response->body( 'Page Not Found' );
14     }
15 }