3781: Fix progress% (100, not NaN) and manifest format (>=1 data locator) for zero...
[arvados.git] / apps / workbench / app / mailers / issue_reporter.rb
1 class IssueReporter < ActionMailer::Base
2   default from: Rails.configuration.issue_reporter_email_from
3   default to: Rails.configuration.issue_reporter_email_to
4
5   def send_report(user, params)
6     @user = user
7     @params = params
8     subject = 'Issue reported'
9     subject += " by #{@user.email}" if @user
10     mail(subject: subject)
11   end
12 end