Commit | Line | Data |
---|---|---|
e226a3e6 | 1 | package TestApp::Controller::Root; |
2 | use Moose; | |
3 | use namespace::autoclean; | |
4 | ||
5 | BEGIN { extends 'Catalyst::Controller' } | |
6 | ||
7 | __PACKAGE__->config(namespace => q{}); | |
8 | ||
9 | sub base : Chained('/') PathPart('') CaptureArgs(0) {} | |
10 | ||
11 | # your actions replace this one | |
12 | sub main : Chained('base') PathPart('') Args(0) { | |
e226a3e6 | 13 | } |
14 | ||
030fd7f2 | 15 | sub end : ActionClass('RenderView') {} |
16 | ||
e226a3e6 | 17 | __PACKAGE__->meta->make_immutable; |