X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=lib%2FCatalyst%2FController%2FDBIC%2FAPI%2FREST.pm;h=23655e25a12dcb72ae9ba32b154293f186a0111b;hp=b40b5de566003490ec260dd070274863f52f2727;hb=533075c7cc1bfd0ed993d273314ad46f0d85401b;hpb=609916e5de6201b2e2212328153657194b41a730 diff --git a/lib/Catalyst/Controller/DBIC/API/REST.pm b/lib/Catalyst/Controller/DBIC/API/REST.pm index b40b5de..23655e2 100644 --- a/lib/Catalyst/Controller/DBIC/API/REST.pm +++ b/lib/Catalyst/Controller/DBIC/API/REST.pm @@ -38,7 +38,7 @@ As described in L, this action is the cha =method_protected no_id -Chained: L +Chained: L PathPart: none CaptureArgs: 0 @@ -50,7 +50,7 @@ GET: forwards to L =cut -sub no_id : Chained('object_no_id') PathPart('') ActionClass('REST') :CaptureArgs(0) {} +sub no_id : Chained('objects_no_id') PathPart('') ActionClass('REST') {} sub no_id_PUT { @@ -90,7 +90,7 @@ GET: forwards to L =cut -sub with_id :Chained('object_with_id') :PathPart('') :ActionClass('REST') :CaptureArgs(0) {} +sub with_id :Chained('object_with_id') :PathPart('') :ActionClass('REST') {} sub with_id_PUT {