[Bps-public-commit] Path-Dispatcher branch, master, updated. 5769e3d9fc1296729990c24779567ca1c2067df5
sartak at bestpractical.com
sartak at bestpractical.com
Thu Jan 7 15:19:40 EST 2010
The branch, master has been updated
via 5769e3d9fc1296729990c24779567ca1c2067df5 (commit)
from ccaa6656d9a68938eb2e3ba84ccde6d12c2669d8 (commit)
Summary of changes:
lib/Path/Dispatcher/Rule/Sequence.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 5769e3d9fc1296729990c24779567ca1c2067df5
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Thu Jan 7 15:19:21 2010 -0500
Need to pass a path object to rule->complete
diff --git a/lib/Path/Dispatcher/Rule/Sequence.pm b/lib/Path/Dispatcher/Rule/Sequence.pm
index 2171fbb..15d6249 100644
--- a/lib/Path/Dispatcher/Rule/Sequence.pm
+++ b/lib/Path/Dispatcher/Rule/Sequence.pm
@@ -56,7 +56,7 @@ sub complete {
my $rule = shift @$rules;
my $token = @$tokens ? shift @$tokens : '';
- return $rule->complete($token);
+ return $rule->complete($path->clone_path($token));
}
sub tokenize {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list