| App-HistHub documentation | Contained in the App-HistHub distribution. |
App::HistHub::Web::Controller::Root - Root Controller for App::HistHub::Web
Attempt to render a view, if needed.
Daisuke Murase
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
| App-HistHub documentation | Contained in the App-HistHub distribution. |
package App::HistHub::Web::Controller::Root; use strict; use warnings; use parent 'Catalyst::Controller'; __PACKAGE__->config->{namespace} = '';
sub index :Path :Args(0) { my ( $self, $c ) = @_; $c->view('TD')->template('index'); } sub default :Path { my ( $self, $c ) = @_; $c->response->body( 'Page not found' ); $c->response->status(404); }
sub end : ActionClass('RenderView') {}
1;