git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 4b7a0d36 authored by Evan Prodromou's avatar Evan Prodromou

add atompub membership actions to router

parent 30f0defc
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment