Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

triggerにもargsが欲しいのです

  • Loading branch information...
commit a8097d05f1a87be02fa0a1c020300f0e56e58054 1 parent 5d4e343
@nekokak authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Kamui/Web/Handler.pm
View
4 lib/Kamui/Web/Handler.pm
@@ -124,9 +124,9 @@ sub dispatch {
my $res;
eval {
- $controller->call_trigger('before_dispatch', $context);
+ $controller->call_trigger('before_dispatch', $context, $context->dispatch_rule->{args});
$res = $controller->$method($context, $context->dispatch_rule->{args});
- $controller->call_trigger('after_dispatch', $context);
+ $controller->call_trigger('after_dispatch', $context, $context->dispatch_rule->{args});
};
if ( $context->is_detach($@) ) {
return $context->res;
Please sign in to comment.
Something went wrong with that request. Please try again.