projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0b169
)
allow DELETE for untagging as well
author
Chuck Hagenbuch
<chuck@horde.org>
Wed, 24 Dec 2008 19:32:29 +0000
(14:32 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Sat, 27 Dec 2008 02:29:18 +0000
(21:29 -0500)
content/config/routes.php
patch
|
blob
|
history
diff --git
a/content/config/routes.php
b/content/config/routes.php
index
d5abf1e
..
feb5882
100644
(file)
--- 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