group_member includes self link, edit link

This commit is contained in:
Evan Prodromou 2010-12-13 12:40:44 -05:00
parent 1a58fdd695
commit 5bbd77b761

View File

@ -118,6 +118,13 @@ class Group_member extends Memcached_DataObject
$member->getBestName(),
$group->getBestName());
$url = common_local_url('AtomPubShowMembership',
array('profile' => $member->id,
'group' => $group->id));
$act->selfLink = $url;
$act->editLink = $url;
return $act;
}
}