prey/gdpr_rails

View on GitHub
app/mailers/policy_manager/application_mailer.rb

Summary

Maintainability
A
0 mins
Test Coverage
module PolicyManager
  class ApplicationMailer < ActionMailer::Base
    default from: Config.from_email
    layout 'mailer'

    # configurable mailer helpers
    if Config.exporter.present?
      Config.exporter.mail_helpers.each do |helpers|
        add_template_helper(helpers)
      end
    end
  end
end