Switch everything to autoclean. Add sanity tests to ensure appropriate modern perl...
[catagits/CatalystX-DynamicComponent.git] / lib / DynamicAppDemo / Controller / Root.pm
1 package DynamicAppDemo::Controller::Root;
2 use Moose;
3 use namespace::autoclean;
4
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' }
9
10 __PACKAGE__->config->{namespace} = '';
11
12 sub root : Chained('/') PathPath() CaptureArgs() {}
13
14 sub end : ActionClass('RenderView') {}
15
16 __PACKAGE__->meta->make_immutable;
17