Commit | Line | Data |
---|---|---|
8798165a | 1 | package DynamicAppDemo::Controller::Root; |
fa2fa199 | 2 | use Moose; |
046d763d | 3 | use namespace::autoclean; |
8798165a | 4 | |
fa2fa199 | 5 | # Note - need old style actions |
6 | # Note - do not extend general controller base class, which messes with | |
7 | # action registration! | |
8 | BEGIN { extends 'Catalyst::Controller' } | |
8798165a | 9 | |
8798165a | 10 | __PACKAGE__->config->{namespace} = ''; |
11 | ||
7b2de49d | 12 | sub root : Chained('/') PathPath() CaptureArgs() {} |
13 | ||
8798165a | 14 | sub end : ActionClass('RenderView') {} |
15 | ||
fa2fa199 | 16 | __PACKAGE__->meta->make_immutable; |
8798165a | 17 |