notification for note for merge request
This commit is contained in:
parent
a66d9b4c76
commit
6a0defc3ca
3 changed files with 33 additions and 2 deletions
|
@ -34,8 +34,8 @@ class MailerObserver < ActiveRecord::Observer
|
|||
Notify.note_commit_email(u, note).deliver
|
||||
when "Issue" then
|
||||
Notify.note_issue_email(u, note).deliver
|
||||
when "MergeRequest"
|
||||
true # someone should write email notification
|
||||
when "MergeRequest" then
|
||||
Notify.note_merge_request_email(u, note).deliver
|
||||
when "Snippet"
|
||||
true
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue