X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a3c8db7d939fbfc4d70dceb3d398d07ac3689ef5..19ae770973482257117fe8ded5619c3018c4b60f:/apps/workbench/app/mailers/issue_reporter.rb diff --git a/apps/workbench/app/mailers/issue_reporter.rb b/apps/workbench/app/mailers/issue_reporter.rb index 533883b5d8..212dd7dbf9 100644 --- a/apps/workbench/app/mailers/issue_reporter.rb +++ b/apps/workbench/app/mailers/issue_reporter.rb @@ -1,10 +1,12 @@ class IssueReporter < ActionMailer::Base - default from: Rails.configuration.report_notifier_email_from - default to: Rails.configuration.report_notifier_email_to + default from: Rails.configuration.issue_reporter_email_from + default to: Rails.configuration.issue_reporter_email_to def send_report(user, params) @user = user @params = params - mail(subject: 'Issue reported') + subject = 'Issue reported' + subject += " by #{@user.email}" if @user + mail(subject: subject) end end