From 7af4880582a3da8d7ce1ee449116337314542cc4 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Wed, 24 Dec 2008 14:33:48 -0500 Subject: [PATCH] and allow PUT for tagging --- 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 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: -- 2.11.0