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
|
@ -259,4 +259,10 @@ class Project < ActiveRecord::Base
|
|||
merge_requests
|
||||
end
|
||||
end
|
||||
|
||||
def send_move_instructions
|
||||
self.users_projects.each do |member|
|
||||
Notify.project_was_moved_email(member.id).deliver
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue