Skip to content

Commit

Permalink
Path::Dispatcher: less hackish / check, though still ugly
Browse files Browse the repository at this point in the history
  • Loading branch information
sartak committed Mar 16, 2010
1 parent f45bc6f commit d5cea7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion path-dispatcher.pl
Expand Up @@ -10,7 +10,7 @@
token_delimiter => '/',
};

on [] => sub { MyApp::Hello->get_index(@_) };
on qr{^/$} => sub { MyApp::Hello->get_index(@_) };

under { REQUEST_METHOD => 'GET' } => sub {
on ['blog', qr/^\d+$/, qr/^\d+$/] => sub {
Expand Down

0 comments on commit d5cea7f

Please sign in to comment.