57ad81a9c5
There was some funny syntax in merge request email templates. There was a ! before the merge request number when there probably should be a #. This may be some carry over from markdown but should not be in email templates. There were also some capitalization discrepancies among the subject lines. For those OCD people out there I standardized the capitalization. :)
11 lines
282 B
Ruby
11 lines
282 B
Ruby
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,
|
|
subject: subject("Access to group was granted"))
|
|
end
|
|
end
|
|
end
|