BigW Consortium Gitlab

groups.rb 282 Bytes
Newer Older
1 2 3 4 5 6 7
module Emails
  module Groups
    def group_access_granted_email(user_group_id)
      @membership = UsersGroup.find(user_group_id)
      @group = @membership.group

      mail(to: @membership.user.email,
8
           subject: subject("Access to group was granted"))
9 10 11
    end
  end
end