d41d50d52b
and some other de-tenant changes, including removing the controller tenanting concerns
17 lines
364 B
Ruby
17 lines
364 B
Ruby
class ApplicationMailer < ActionMailer::Base
|
|
default from: "Fizzy <support@fizzy.do>"
|
|
|
|
layout "mailer"
|
|
append_view_path Rails.root.join("app/views/mailers")
|
|
helper AvatarsHelper, HtmlHelper
|
|
|
|
private
|
|
def default_url_options
|
|
if Current.account
|
|
super.merge(script_name: Current.account.slug)
|
|
else
|
|
super
|
|
end
|
|
end
|
|
end
|