diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2018-12-12 12:51:36 +0300 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2018-12-21 13:00:14 +0300 |
commit | 51ac77af9a9bd70297ae6dd8c0290c73a46d8bf8 (patch) | |
tree | 80f309b336f92f7d841129d67bcbbe93f9db45dd /app/mailers/emails/issues.rb | |
parent | 62d250ff666770f9807eec2199a7b208ea8b518a (diff) |
Add date range to milestone changed emails
Also refactored issues and MRs to use the same email template file
Diffstat (limited to 'app/mailers/emails/issues.rb')
-rw-r--r-- | app/mailers/emails/issues.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/mailers/emails/issues.rb b/app/mailers/emails/issues.rb index 93b51fb1774..370e6d2f90b 100644 --- a/app/mailers/emails/issues.rb +++ b/app/mailers/emails/issues.rb @@ -56,7 +56,9 @@ module Emails @milestone = milestone @milestone_url = milestone_url(@milestone) - mail_answer_thread(@issue, issue_thread_options(updated_by_user_id, recipient_id, reason)) + mail_answer_thread(@issue, issue_thread_options(updated_by_user_id, recipient_id, reason).merge({ + template_name: 'changed_milestone_email' + })) end def issue_status_changed_email(recipient_id, issue_id, status, updated_by_user_id, reason = nil) |