3112: config settings, mailer, popup display
[arvados.git] / apps / workbench / app / mailers / issue_reporter.rb
1 class IssueReporter < ActionMailer::Base
2   default from: Rails.configuration.report_notifier_email_from
3   default to: Rails.configuration.report_notifier_email_to
4
5   def send_report(user, data)
6     @user = user
7     @data = data
8     mail(subject: 'Issue reported')
9   end
10 end