Skip to content

Commit

Permalink
the actual return value is not important anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 29, 2013
1 parent 166d36a commit d77d85b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Mojolicious/Routes.pm
Expand Up @@ -196,8 +196,7 @@ sub _controller {

if (my $sub = $new->can($method)) {
$old->stash->{'mojo.routed'}++ if $last;
my $continue = _action($app, $new, $sub, $last);
return $continue if $continue;
return 1 if _action($app, $new, $sub, $last);
}

else { $log->debug('Action not found in controller.') }
Expand Down

0 comments on commit d77d85b

Please sign in to comment.