BigW Consortium Gitlab

groups.rb 320 Bytes
Newer Older
1 2
module Emails
  module Groups
3
    def group_access_granted_email(user_group_id)
4
      @membership = GroupMember.find(user_group_id)
5
      @group = @membership.group
6
      @target_url = group_url(@group)
7
      mail(to: @membership.user.email,
8
           subject: subject("Access to group was granted"))
9 10 11
    end
  end
end