Commit | Line | Data |
---|---|---|
05b47f2e | 1 | package TestAppIndexDefault::Controller::IndexChained; |
2ee0056e | 2 | |
3 | use base 'Catalyst::Controller'; | |
4 | ||
5 | sub index : Chained('/') PathPart('indexchained') CaptureArgs(0) {} | |
6 | ||
7 | sub index_endpoint : Chained('index') PathPart('') Args(0) { | |
8 | my ($self, $c) = @_; | |
9 | $c->res->body('index_chained'); | |
10 | } | |
11 | ||
12 | 1; |