diff options
author | Douwe Maan <douwe@gitlab.com> | 2019-01-07 23:15:53 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2019-01-07 23:15:53 +0000 |
commit | cfa7108210490704a8110ee97a26de9ae4d9adaf (patch) | |
tree | 4c66dc55df99405b8aba8ed9fa0e3d1fd34eb30e /app/mailers/previews/notify_preview.rb | |
parent | 420fb032fc9760395c96bafd3f6600950c2125f4 (diff) | |
parent | f54290de751e365be0928c66bb75fd106bb7aa88 (diff) | |
download | gitlab-ce-cfa7108210490704a8110ee97a26de9ae4d9adaf.tar.gz |
Merge branch '49231-import-issues-csv' into 'master'
Import issues from CSV
Closes #49231
See merge request gitlab-org/gitlab-ce!23532
Diffstat (limited to 'app/mailers/previews/notify_preview.rb')
-rw-r--r-- | app/mailers/previews/notify_preview.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/mailers/previews/notify_preview.rb b/app/mailers/previews/notify_preview.rb index 2ac4610967d..80e0a17c312 100644 --- a/app/mailers/previews/notify_preview.rb +++ b/app/mailers/previews/notify_preview.rb @@ -76,6 +76,10 @@ class NotifyPreview < ActionMailer::Preview Notify.changed_milestone_issue_email(user.id, issue.id, milestone, user.id) end + def import_issues_csv_email + Notify.import_issues_csv_email(user, project, { success: 3, errors: [5, 6, 7], valid_file: true }) + end + def closed_merge_request_email Notify.closed_merge_request_email(user.id, issue.id, user.id).message end |