From: Chuck Hagenbuch Date: Wed, 24 Dec 2008 19:32:29 +0000 (-0500) Subject: allow DELETE for untagging as well X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=343a1f922087ba9fb9c2475423a7e166050eaf17;p=horde.git allow DELETE for untagging as well --- 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