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