Permalink
Browse files

contextをつかいたくなったのさ

  • Loading branch information...
1 parent de5884c commit c88f3a93abd32cec10b2eddc6cd74b8919ff74dc @nekokak committed Feb 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Kamui/Web/Dispatcher.pm
@@ -40,7 +40,7 @@ sub determine {
for my $dispatch_rule (@{$class->dispatch_table}) {
if ($env->{PATH_INFO} =~ $dispatch_rule->{regexp}) {
- my ($controller, $page, $static, $args) = $dispatch_rule->{code}->();
+ my ($controller, $page, $static, $args) = $dispatch_rule->{code}->($context);
if ($controller) {
return +{
controller => join('::', $class->base_name, 'Web', 'Controller', $controller),

0 comments on commit c88f3a9

Please sign in to comment.