forked from GNUsocial/gnu-social
add atompub membership actions to router
This commit is contained in:
parent
30f0defcf1
commit
4b7a0d366c
@ -929,6 +929,15 @@ class Router
|
|||||||
array('action' => 'AtomPubFavoriteFeed'),
|
array('action' => 'AtomPubFavoriteFeed'),
|
||||||
array('profile' => '[0-9]+'));
|
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
|
// user stuff
|
||||||
|
|
||||||
Event::handle('RouterInitialized', array($m));
|
Event::handle('RouterInitialized', array($m));
|
||||||
|
Loading…
Reference in New Issue
Block a user