I'm having the same problem (but with 2.2.1). What I did was this: Router::resourceMap(array(array('action' => 'admin_delete', 'method' => 'DELETE', 'id' => true))); Router::mapResources('CookingUtensils', array('prefix' => '/admin/')); Router::parseExtensions('xml');
but it doesn't work and I get: <response> <code>404</code> <url>/MYPROJECTNAME/admin/cooking_utensils/7.xml</url> <name>Private Action CookingUtensilsController::admin_delete() is not directly accessible.</name> </response> Does someone know how to do this correctly? On Thursday, November 1, 2007 2:04:40 PM UTC+1, slawil wrote: > > Hi, > I have enable Configure::write('Routing.admin', 'admin'); in core.php > > and add > > Router::mapResources('translators'); > > to route.php > > > now when i try to send HTTP DELETE request to /admin/translators/1 > I'm getting error: > > Missing Method in TranslatorsController > You are seeing this error because the action admin_1 is not defined in > controller TranslatorsController > > i try with > Router::mapResources('translators',params("prefix"=>"admin/")); but > without any luck. > > Is it this possible in cake 1.2 pre-beta to use admin routing with > REST routing ? > > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php