summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-10 18:22:19 -0700
committerZach Copley <zach@controlyourself.ca>2009-07-10 18:22:19 -0700
commit0ac08c1fb3a930af420cb9c4252bc6f499ba1141 (patch)
tree0fe845ca41be168987ee1d114e253153af598171 /lib/router.php
parent6b0468358bd1148adfcf11a18cbb19ab4e80a799 (diff)
Make get_group() behave more like get_user()
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index cd2143d13..8104d7818 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -399,6 +399,10 @@ class Router
array('action' => 'api',
'apiaction' => 'groups'));
+ $m->connect('api/laconica/groups/:method',
+ array('action' => 'api',
+ 'apiaction' => 'groups'));
+
// search
$m->connect('api/search.atom', array('action' => 'twitapisearchatom'));
$m->connect('api/search.json', array('action' => 'twitapisearchjson'));