summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-17 21:40:52 +0000
committerZach Copley <zach@controlyourself.ca>2009-06-17 21:40:52 +0000
commit164588ef0fd2c9c9f1858f1d21d6758356ce7885 (patch)
tree2e5d5c9cc8adf07a1d610728dbfa201756884640 /lib/router.php
parentaf4b18b1e2ef8aded26fc4788c571012da04d1cf (diff)
parentcd1361fe960eb3afbbdb34b14061b8475dea60c8 (diff)
Merge branch '0.8.x' into userdesign
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php
index 0fbaba9ed..8b6f63618 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -351,7 +351,8 @@ class Router
$m->connect('api/favorites/:method/:argument',
array('action' => 'api',
- 'apiaction' => 'favorites'));
+ 'apiaction' => 'favorites',
+ array('method' => '(create|destroy)')));
$m->connect('api/favorites/:argument',
array('action' => 'api',