Skip to content

Commit

Permalink
change 404 action name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieren Diment committed Sep 12, 2009
1 parent e24bd2e commit d53031b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Survey-Perl/lib/Survey/Perl/Controller/Root.pm
Expand Up @@ -13,7 +13,7 @@ sub index :Path :Args(0) {
$c->res->body('<a href="'. $c->uri_for('/survey') . '">Survey</a>');
}

sub default :Path {
sub do_404 :Path {
my ( $self, $c ) = @_;
$c->res->status(404);
$c->res->body('Not found');
Expand Down

0 comments on commit d53031b

Please sign in to comment.