diff options
author | Evan Prodromou <evan@status.net> | 2010-12-13 12:40:44 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-13 12:40:44 -0500 |
commit | 5bbd77b761bfaed08903a3c3319c2ad0a99d7e3f (patch) | |
tree | 688f7b15a36b6a3ffee8d5aa1b0cd3d5a8751f05 /classes/Group_member.php | |
parent | 1a58fdd695be2e4c6485354a8bf46414ac041b65 (diff) |
group_member includes self link, edit link
Diffstat (limited to 'classes/Group_member.php')
-rw-r--r-- | classes/Group_member.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/Group_member.php b/classes/Group_member.php index c40d06a1d..e513f6f3b 100644 --- a/classes/Group_member.php +++ b/classes/Group_member.php @@ -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; } } |