Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

undef check.

  • Loading branch information...
commit 795ff8c5a8f2c7e75c85174b40c65a8d53cc8d6e 1 parent bce7d4b
@nekokak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Kamui/Web/Handler.pm
View
2  lib/Kamui/Web/Handler.pm
@@ -47,7 +47,7 @@ sub dispatch {
my $controller = $context->dispatch_rule->{controller}||'';
unless ($self->{_controller}->{$controller}) {
- $controller->use or do {
+ ($controller && $controller->use) or do {
warn "[404] controller : $controller $@ (path: $context->{env}->{PATH_INFO})";
return $context->handle_404;
};
Please sign in to comment.
Something went wrong with that request. Please try again.