Fix issues, more tests
[catagits/Catalyst-Devel.git] / share / lib / MyApp / Controller / Root.pm.tt
index bb717a3..24795f6 100644 (file)
@@ -20,10 +20,10 @@ __PACKAGE__->config(namespace => '');
 
 =head1 METHODS
 
-=cut
-
 =head2 index
 
+The root page (/)
+
 =cut
 
 sub index :Path :Args(0) {
@@ -33,6 +33,12 @@ sub index :Path :Args(0) {
     $c->response->body( $c->welcome_message );
 }
 
+=head2 default
+
+Standard 404 error page
+
+=cut
+
 sub default :Path {
     my ( $self, $c ) = @_;
     $c->response->body( 'Page not found' );