Files
fizzy/app/mailers/application_mailer.rb
T
Mike Dalessio d41d50d52b Account.sole → Current.account
and some other de-tenant changes, including removing the controller
tenanting concerns
2025-11-17 09:11:40 -05:00

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