780d868fec
This reverts commit97fd990ecd
, reversing changes made tof451a697e0
. Conflicts: app/mailers/emails/notes.rb app/mailers/emails/projects.rb
11 lines
319 B
Ruby
11 lines
319 B
Ruby
module Emails
|
|
module Groups
|
|
def group_access_granted_email(user_group_id)
|
|
@membership = UsersGroup.find(user_group_id)
|
|
@group = @membership.group
|
|
@target_url = group_url(@group)
|
|
mail(to: @membership.user.email,
|
|
subject: subject("Access to group was granted"))
|
|
end
|
|
end
|
|
end
|