summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-17 23:56:42 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-17 23:56:42 -0700
commit79e732bd03c020eab36ceb13c5a712e76df3ac75 (patch)
tree48cd2d1b916a8f53beefa6c856677eb5278921f1 /lib/router.php
parent19d39b20294bad8dc14df26e76756c558a5083cf (diff)
parentc14c9e1a086f0de29ef5c37fbeb34f6082b1c5ef (diff)
Merge branch '0.8.x' into twitterpriv
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',