fixed bug with under block leaking its setting to following actions
[catagits/CatalystX-Declare.git] / t / lib / TestApp / Controller / UnderSequence.pm
CommitLineData
fe864e80 1use CatalystX::Declare;
2
3controller 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}