Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Nov 8, 2013
1 parent fb20459 commit 2dba31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Amon2/Web/Dispatcher/RouterBoom.pm
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ You can customize the exception handler. You can define the special named method
my ($class, $c, $e) = @_;
if (UNIVERSAL::isa($e, 'My::Exception::Validation')) {
return $self->create_simple_status_page(400, 'Bad Request');
return $c->create_simple_status_page(400, 'Bad Request');
} else {
return $c->res_500();
}
Expand Down

0 comments on commit 2dba31d

Please sign in to comment.