diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-07-10 17:56:01 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-07-10 17:56:01 -0700 |
commit | 544a14d290cc6c08950b2d4a6faf324704e90c6c (patch) | |
tree | a38d4b06db26b87732e2c42c8873965bd2644c37 /lib/router.php | |
parent | 5b3d4f7121cf9999edb6789a9c0214dea193fe51 (diff) |
Move groups timeline API method into groups API action
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php index bc063038f..cd2143d13 100644 --- a/lib/router.php +++ b/lib/router.php @@ -266,7 +266,7 @@ class Router $m->connect('api/statuses/:method/:argument', array('action' => 'api', 'apiaction' => 'statuses'), - array('method' => '(group_timeline|user_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); + array('method' => '(|user_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); // users @@ -394,6 +394,11 @@ class Router array('action' => 'api', 'apiaction' => 'laconica')); + // Groups + $m->connect('api/laconica/groups/:method/:argument', + array('action' => 'api', + 'apiaction' => 'groups')); + // search $m->connect('api/search.atom', array('action' => 'twitapisearchatom')); $m->connect('api/search.json', array('action' => 'twitapisearchjson')); |