Files
fizzy/app/mailers/application_mailer.rb
T
2025-08-27 11:30:08 +02:00

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