no :PathPart -> :PathPart('subname')
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Controller / Action / ChildOf / Foo.pm
index 1e1ea0a..d75f45a 100644 (file)
@@ -8,7 +8,7 @@ use base qw/Catalyst::Controller/;
 #
 #   Child of current namespace
 #
-sub spoon :PathPart :ChildOf('') :Args(0) { }
+sub spoon :ChildOf('') :Args(0) { }
 
 #
 #   Root for a action in a "parent" controller
@@ -18,7 +18,7 @@ sub higher_root :PathPart('childof/higher_root') :ChildOf('/') :Captures(1) { }
 #
 #   Parent controller -> this subcontroller -> parent controller test
 #
-sub pcp2 :PathPart :ChildOf('/action/childof/pcp1') :Captures(1) { }
+sub pcp2 :ChildOf('/action/childof/pcp1') :Captures(1) { }
 
 #
 #   Controllers not in parent/child relation. This tests the end.