From: Evan Prodromou Date: Mon, 13 Dec 2010 17:40:01 +0000 (-0500) Subject: add atompub membership actions to router X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b7a0d366ccc2da4c178ff0cff0f207732301a0a;p=quix0rs-gnu-social.git add atompub membership actions to router --- diff --git a/lib/router.php b/lib/router.php index 0ced86f34e..e05fa096de 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));