From: Alexander Hartmaier Date: Sun, 8 Aug 2010 12:57:51 +0000 (+0200) Subject: removed useless RPC index action X-Git-Tag: 2.002003~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=commitdiff_plain;h=a623b44aa89d8a2779411e32646599f302bf7aff removed useless RPC index action --- diff --git a/Changes b/Changes index ff86a72..3b67140 100644 --- a/Changes +++ b/Changes @@ -5,6 +5,7 @@ Revision history for Catalyst-Controller-DBIC-API: {{ $dist->version }} - Added REST and RPC delete_bulk tests - Fixed RPC delete_bulk not working at all - Added REST and RPC update_bulk tests +- Removed useless RPC index action 2.002002 2010-08-03 14:40:50 Europe/Vienna diff --git a/lib/Catalyst/Controller/DBIC/API/RPC.pm b/lib/Catalyst/Controller/DBIC/API/RPC.pm index c52e234..c58b131 100644 --- a/lib/Catalyst/Controller/DBIC/API/RPC.pm +++ b/lib/Catalyst/Controller/DBIC/API/RPC.pm @@ -43,23 +43,6 @@ As described in L, this action is the cha =cut -=method_protected index - -Chained: L -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