application_mailer.rb
333 Bytes
require_relative '../helpers/application_helper'
class ApplicationMailer < ActionMailer::Base
include AuthenticatedSystem
helper ApplicationHelper
attr_accessor :environment
def default_url_options options = nil
options ||= {}
options[:host] = environment.default_hostname if environment
options
end
end