X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FController%2FDBIC%2FAPI%2FREST.pm;h=23655e25a12dcb72ae9ba32b154293f186a0111b;hb=9a29ee35ad6dba84d7741dc1e115fe90583a5d88;hp=b40b5de566003490ec260dd070274863f52f2727;hpb=609916e5de6201b2e2212328153657194b41a730;p=catagits%2FCatalyst-Controller-DBIC-API.git 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 {