projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Initial support for :Args attribute
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
DispatchType
/
Path.pm
diff --git
a/lib/Catalyst/DispatchType/Path.pm
b/lib/Catalyst/DispatchType/Path.pm
index
64bc477
..
ceea17b
100644
(file)
--- a/
lib/Catalyst/DispatchType/Path.pm
+++ b/
lib/Catalyst/DispatchType/Path.pm
@@
-42,6
+42,7
@@
sub match {
$path ||= '/';
if ( my $action = $self->{paths}->{$path} ) {
+ return 0 unless $action->match($c);
$c->req->action($path);
$c->req->match($path);
$c->action($action);