adjust email templates

This commit is contained in:
Alex Turchyn
2023-06-26 00:46:01 +03:00
parent 43b32d05cb
commit d53fa5613b
35 changed files with 160 additions and 57 deletions
+6
View File
@@ -1,10 +1,16 @@
# frozen_string_literal: true
module Docuseal
PRODUCT_URL = 'https://www.docuseal.co'
PRODUCT_NAME = 'DocuSeal'
DEFAULT_APP_URL = 'http://localhost:3000'
module_function
def multitenant?
ENV['MULTITENANT'] == true
end
def default_url_options
@default_url_options ||= begin
value = EncryptedConfig.find_by(key: EncryptedConfig::APP_URL_KEY)&.value