Commit | Line | Data |
---|---|---|
f0671dfc | 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 | } |