add demo configs

This commit is contained in:
Alex Turchyn
2023-07-05 00:22:05 +03:00
parent 8f97d2f6f7
commit 4234198b46
2 changed files with 9 additions and 0 deletions
+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