removed useless RPC index action
[catagits/Catalyst-Controller-DBIC-API.git] / lib / Catalyst / Controller / DBIC / API / RPC.pm
index eacd523..c58b131 100644 (file)
@@ -43,23 +43,6 @@ As described in L<Catalyst::Controller::DBIC::API/setup>, this action is the cha
 
 =cut
 
-=method_protected index
-
-Chained: L</setup>
-PathPart: ''
-Args: 0
-
-Returns http status code 404 by default.
-
-=cut
-
-sub index : Chained('setup') PathPart('') Args(0) {
-       my ( $self, $c ) = @_;
-
-       $self->push_error($c, { message => 'Not implemented' });
-       $c->res->status( '404' );
-}
-
 =method_protected create
 
 Chained: L</objects_no_id>
@@ -169,7 +152,7 @@ Provides an endpoint to the functionality described in L<Catalyst::Controller::D
 sub delete_bulk :Chained('objects_no_id') :PathPart('delete') :Args(0)
 {
     my ($self, $c) = @_;
-    $self->next::method($c);
+    $self->delete($c);
 }
 
 1;