Preferred form of passing the tenant slug

This commit is contained in:
Jorge Manrubia
2025-08-28 18:09:13 +02:00
parent c2fe32cdfc
commit 8f1a6852fa
+1 -1
View File
@@ -7,6 +7,6 @@ class ApplicationMailer < ActionMailer::Base
private
def default_url_options
super.merge(script_name: "/#{ApplicationRecord.current_tenant}")
super.merge(script_name: Account.sole.slug)
end
end