Should be everything, appears working at least..
[catagits/CatalystX-Debug-ResponseHeaders.git] / t / lib / TestApp / Controller / Root.pm
CommitLineData
019a8a6a 1package TestApp::Controller::Root;
2use Moose;
3use namespace::autoclean;
4
5BEGIN { extends 'Catalyst::Controller' }
6
7__PACKAGE__->config(namespace => q{});
8
9sub base : Chained('/') PathPart('') CaptureArgs(0) {}
10
11# your actions replace this one
12sub main : Chained('base') PathPart('') Args(0) {
13 my ($self, $ctx) = @_;
14 $ctx->res->body('<h1>It works</h1>');
15}
16
17__PACKAGE__->meta->make_immutable;