Sha256: 7b0c944b530032669cb48d1c20ffdb5f0f86c1c1897d00d77bc652310f63690e

Contents?: true

Size: 363 Bytes

Versions: 26

Compression:

Stored size: 363 Bytes

Contents

module Workarea
  class ApplicationMailer < ActionMailer::Base
    include I18n::DefaultUrlOptions

    add_template_helper Workarea::PluginsHelper
    add_template_helper Workarea::ApplicationHelper
    default from: -> (*) { Workarea.config.email_from }

    def default_url_options(options = {})
      super.merge(host: Workarea.config.host)
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
workarea-core-3.4.37 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.36 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.35 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.34 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.33 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.32 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.31 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.30 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.29 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.28 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.27 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.26 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.25 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.24 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.23 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.22 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.21 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.20 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.19 app/mailers/workarea/application_mailer.rb
workarea-core-3.4.18 app/mailers/workarea/application_mailer.rb