Commit | Line | Data |
---|---|---|
eb1a771f | 1 | package TestApp::Controller::Root; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
b66160b0 | 5 | |
6 | use base 'Catalyst::Controller'; | |
eb1a771f | 7 | |
8 | __PACKAGE__->config->{namespace} = ''; | |
9 | ||
10 | sub default :Path { | |
11 | my ( $self, $c ) = @_; | |
12 | $c->response->body( 'Page not found' ); | |
13 | $c->response->status(404); | |
14 | } | |
15 | ||
16 | 1; |