]>
Dogcows Code - chaz/chatty/blob - lib/Chatty/Controller/Root.pm
644a861a2d074191130835ef6296a4a3b4d1d7ac
1 package Chatty
::Controller
::Root
;
3 use namespace
::autoclean
;
5 BEGIN { extends
'Catalyst::Controller' }
8 # Sets the actions in this controller to be registered with no prefix
9 # so they function identically to actions created in MyApp.pm
11 __PACKAGE__-
>config(namespace
=> '');
15 Chatty::Controller::Root - Root Controller for Chatty
19 Implements all actions for this simple chat application.
29 sub index :Path
:Args
(0) {
30 my ( $self, $c ) = @_;
35 Standard 404 error page
40 my ( $self, $c ) = @_;
41 $c->response->body( 'Page not found' );
42 $c->response->status(404);
47 Attempt to render a view, if needed.
51 sub end
: ActionClass
('RenderView') {}
59 This library is free software. You can redistribute it and/or modify
60 it under the same terms as Perl itself.
64 __PACKAGE__-
>meta->make_immutable;
This page took 0.036027 seconds and 4 git commands to generate.