package # hide from PAUSE MyAtom::Controller::Root; use strict; use warnings; use base 'Catalyst::Controller'; # # Sets the actions in this controller to be registered with no prefix # so they function identically to actions created in MyApp.pm # __PACKAGE__->config->{namespace} = ''; sub default : Private { my ( $self, $c ) = @_; # Hello World $c->response->body( $c->welcome_message ); } sub end : ActionClass('RenderView') {} 1;