The basis for the one true type of controller
t0m [Fri, 24 Apr 2009 21:30:36 +0000 (22:30 +0100)]
lib/DynamicAppDemo/Controller/Root.pm

index c6b0831..30d518b 100644 (file)
@@ -8,6 +8,8 @@ BEGIN { extends 'Catalyst::Controller' }
 
 __PACKAGE__->config->{namespace} = '';
 
+sub root : Chained('/') PathPath() CaptureArgs() {}
+
 sub end : ActionClass('RenderView') {}
 
 __PACKAGE__->meta->make_immutable;