From 4b7a0d366ccc2da4c178ff0cff0f207732301a0a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 13 Dec 2010 12:40:01 -0500 Subject: [PATCH] add atompub membership actions to router --- lib/router.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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)); -- 2.39.5