add demo configs

This commit is contained in:
Alex Turchyn committed 2023-07-05 00:22:05 +03:00
1 parent 8f97d2f6f7
commit 4234198b46
2 files changed
+9

No files matched your search

+4
View File
@@ -23,6 +23,10 @@ module Docuseal
ENV['MULTITENANT'] == 'true'
end
def demo?
ENV['DEMO'] == 'true'
end
def active_storage_public?
ENV['ACTIVE_STORAGE_PUBLIC'] == 'true'
end