diff options
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php index 11f913f6e..b9a45d867 100644 --- a/lib/router.php +++ b/lib/router.php @@ -569,9 +569,13 @@ class Router 'format' => '(xml|json)')); $m->connect('api/statusnet/groups/membership/:id.:format', - array('action' => 'ApiGroupMembership', + array('action' => 'ApiGroupMembership', 'id' => '[a-zA-Z0-9]+', 'format' => '(xml|json)')); + + $m->connect('api/statusnet/groups/create.:format', + array('action' => 'ApiGroupCreate', + 'format' => '(xml|json)')); // Tags $m->connect('api/statusnet/tags/timeline/:tag.:format', array('action' => 'ApiTimelineTag', |