some minor fixes
[catagits/CatalystX-Declare.git] / t / lib / TestApp / Controller / UnderSequence.pm
1 use CatalystX::Declare;
2
3 controller TestApp::Controller::UnderSequence {
4
5     action base under '/' as 'under_seq';
6
7     under base {
8
9         final action foo { $ctx->response->body('foo') }
10
11         action bar;
12
13         under bar { final action test_bar { $ctx->response->body('bar') } }
14
15         action baz;
16
17         under baz { final action test_baz { $ctx->response->body('baz') } }
18     }
19 }