Actually starting to work
[catagits/CatalystX-HelpText.git] / t / lib / TestApp / Controller / Root.pm
index 6bbaa52..35e7b14 100644 (file)
@@ -10,8 +10,8 @@ sub base : Chained('/') PathPart('') CaptureArgs(0) {}
 
 # your actions replace this one
 sub main : Chained('base') PathPart('') Args(0) {
-    my ($self, $ctx) = @_;
-    $ctx->res->body('<h1>It works</h1>');
 }
 
+sub end : ActionClass('RenderView') {}
+
 __PACKAGE__->meta->make_immutable;