projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
DispatchType::Chained fix for default args attribute to handle Args(0) vs Args()...
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
DispatchType
/
Path.pm
diff --git
a/lib/Catalyst/DispatchType/Path.pm
b/lib/Catalyst/DispatchType/Path.pm
index
bff5f21
..
95367ac
100644
(file)
--- a/
lib/Catalyst/DispatchType/Path.pm
+++ b/
lib/Catalyst/DispatchType/Path.pm
@@
-119,7
+119,7
@@
sub register_path {
$path =~ s{(?<=[^/])/+\z}{};
$self->_paths->{$path} = [
- sort { $a <=> $b } ($action, @{ $self->_paths->{$path} || [] })
+ sort { $a->compare($b) } ($action, @{ $self->_paths->{$path} || [] })
];
return 1;