Permalink
Browse files

use path_info

  • Loading branch information...
1 parent 69704fa commit 014484e7675c92af9c77138022a1a705823d41d0 @miyagawa committed Dec 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Tatsumaki/Application.pm
@@ -48,7 +48,7 @@ sub route {
sub dispatch {
my($self, $req) = @_;
- my $path = $req->path;
+ my $path = $req->path_info;
for my $rule (@{$self->_rules}) {
if ($path =~ $rule->{path}) {
my $args = [ $1, $2, $3, $4, $5, $6, $7, $8, $9 ];

0 comments on commit 014484e

Please sign in to comment.