13 lines
360 B
Ruby
13 lines
360 B
Ruby
class ApplicationMailer < ActionMailer::Base
|
|
default from: "The Fizzy team <support@#{Rails.application.config.hosts.first}>"
|
|
|
|
layout "mailer"
|
|
append_view_path Rails.root.join("app/views/mailers")
|
|
helper AvatarsHelper, HtmlHelper
|
|
|
|
private
|
|
def default_url_options
|
|
super.merge(script_name: "/#{ApplicationRecord.current_tenant}")
|
|
end
|
|
end
|