Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use path_info

  • Loading branch information...
commit 014484e7675c92af9c77138022a1a705823d41d0 1 parent 69704fa
@miyagawa miyagawa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Tatsumaki/Application.pm
View
2  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 ];
Please sign in to comment.
Something went wrong with that request. Please try again.