Class: Workarea::ApplicationMailer

Inherits:
ActionMailer::Base
  • Object
show all
Includes:
I18n::DefaultUrlOptions
Defined in:
app/mailers/workarea/application_mailer.rb

Instance Method Summary collapse

Instance Method Details

#default_url_options(options = {}) ⇒ Object



10
11
12
13
14
15
# File 'app/mailers/workarea/application_mailer.rb', line 10

def default_url_options(options = {})
  # super isn't returning the configured options, so manually merge them in
  super
    .merge(Rails.application.config.action_mailer.default_url_options.to_h)
    .merge(host: Workarea.config.host)
end