Commit | Line | Data |
6166f03d |
1 | package TestApp::Controller::Root; |
2 | use strict; |
3 | use warnings; |
4 | |
5 | __PACKAGE__->config(namespace => q{}); |
6 | |
7 | use base 'Catalyst::Controller'; |
8 | |
9 | # your actions replace this one |
10 | sub main :Path { $_[1]->res->body('<h1>It works</h1>') } |
11 | |
12 | 1; |