From: Chuck Hagenbuch Date: Wed, 24 Dec 2008 19:33:48 +0000 (-0500) Subject: and allow PUT for tagging X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7af4880582a3da8d7ce1ee449116337314542cc4;p=horde.git and allow PUT for tagging --- diff --git a/content/config/routes.php b/content/config/routes.php index feb588225..5d08243cd 100644 --- a/content/config/routes.php +++ b/content/config/routes.php @@ -27,7 +27,7 @@ $mapper->connect('users.:(format)', array('controller' => 'tag', 'action' => 'se // Tag an object. Required POST parameters are: tags (array or string list) and // objectId. userId is inferred from the authenticated user: $mapper->connect('tag', array('controller' => 'tag', 'action' => 'tag', - 'conditions' => array('method' => array('POST')))); + 'conditions' => array('method' => array('POST', 'PUT')))); // Untag an object. Required POST parameters are: tags (array or string list) // and objectId. userId is inferred from the authenticated user: