Skip to content
Snippets Groups Projects
Commit 2ccd4c32 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Use mailer

parent 4add6ca6
Branches
Tags
1 merge request!6019Add a new pipeline email service
Loading
@@ -323,7 +323,7 @@ class NotificationService
Loading
@@ -323,7 +323,7 @@ class NotificationService
action: pipeline.status) action: pipeline.status)
   
recipients.each do |to| recipients.each do |to|
Notify.public_send(email_template, pipeline, to).deliver_later mailer.public_send(email_template, pipeline, to).deliver_later
end end
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment