#
# Relative specification of parent action
#
-sub bar :PathPart('childof/bar') :ChildOf('/') { }
-sub finale :ChildOf('bar') :Args { }
+sub bar :PathPart('childof/bar') :ChildOf('/') :Captures(0) { }
+sub finale :PathPart('') :ChildOf('bar') :Args { }
#
# three chain with concurrent endpoints
# Controller -> subcontroller -> controller
#
sub pcp1 :PathPart('childof/pcp1') :ChildOf('/') :Captures(1) { }
-sub pcp3 :PathPart :ChildOf('/action/childof/foo/pcp2') :Args(1) { }
+sub pcp3 :ChildOf('/action/childof/foo/pcp2') :Args(1) { }
#
# Dispatch on capture number
sub priority_b2 :PathPart('childof/priority_b') :ChildOf('/') :Captures(1) { }
sub priority_b2_end :PathPart('end') :ChildOf('priority_b2') :Args(1) { }
+#
+# Optional specification of :Args in endpoint
+#
+sub opt_args :PathPart('childof/opt_args') :ChildOf('/') { }
+
sub end :Private {
my ($self, $c) = @_;
my $out = join('; ', map { join(', ', @$_) }