summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-17 15:05:24 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-17 15:05:24 -0700
commit420e8994f8f62c22073e70e081daadfa2d8d7c06 (patch)
tree67aaba76513bc1f60382beab2223c32c80f942a9 /lib/router.php
parent07f5797f2fd1a425027190d424e359a1b4c4c8be (diff)
parentcd1361fe960eb3afbbdb34b14061b8475dea60c8 (diff)
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into taggedprofile
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',