Send update instructions after project namespace id changed or namespace path changed
This commit is contained in:
parent
d188adfd97
commit
75dd704294
5 changed files with 47 additions and 2 deletions
|
@ -102,6 +102,12 @@ class Notify < ActionMailer::Base
|
|||
end
|
||||
|
||||
|
||||
def project_was_moved_email(user_project_id)
|
||||
@users_project = UsersProject.find user_project_id
|
||||
@project = @users_project.project
|
||||
mail(to: @users_project.user.email,
|
||||
subject: subject("project was moved"))
|
||||
end
|
||||
|
||||
#
|
||||
# User
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue