From 343a1f922087ba9fb9c2475423a7e166050eaf17 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Wed, 24 Dec 2008 14:32:29 -0500 Subject: [PATCH] allow DELETE for untagging as well --- content/config/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/config/routes.php b/content/config/routes.php index d5abf1e6d..feb588225 100644 --- a/content/config/routes.php +++ b/content/config/routes.php @@ -32,7 +32,7 @@ $mapper->connect('tag', array('controller' => 'tag', 'action' => 'tag', // Untag an object. Required POST parameters are: tags (array or string list) // and objectId. userId is inferred from the authenticated user: $mapper->connect('untag', array('controller' => 'tag', 'action' => 'untag', - 'conditions' => array('method' => array('POST')))); + 'conditions' => array('method' => array('POST', 'DELETE')))); // Local route overrides -- 2.11.0