diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index 0ced86f34..e05fa096d 100644 --- a/lib/router.php +++ b/lib/router.php @@ -929,6 +929,15 @@ class Router array('action' => 'AtomPubFavoriteFeed'), array('profile' => '[0-9]+')); + $m->connect('api/statusnet/app/memberships/:profile/:group.atom', + array('action' => 'AtomPubShowMembership'), + array('profile' => '[0-9]+', + 'group' => '[0-9]+')); + + $m->connect('api/statusnet/app/membership/:profile.atom', + array('action' => 'AtomPubMembershipFeed'), + array('profile' => '[0-9]+')); + // user stuff Event::handle('RouterInitialized', array($m)); |