From 5f5dabd0e5a95ecb8ea212d93753c8f1864b1871 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Fri, 2 May 2025 19:11:29 +0300 Subject: [PATCH] advanced formats --- app/views/templates/_upload_button.html.erb | 2 +- lib/docuseal.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/templates/_upload_button.html.erb b/app/views/templates/_upload_button.html.erb index b2281e50..12f36df0 100644 --- a/app/views/templates/_upload_button.html.erb +++ b/app/views/templates/_upload_button.html.erb @@ -14,6 +14,6 @@ - + <% end %> diff --git a/lib/docuseal.rb b/lib/docuseal.rb index 15db4be0..3c11deda 100644 --- a/lib/docuseal.rb +++ b/lib/docuseal.rb @@ -55,6 +55,10 @@ module Docuseal ENV['MULTITENANT'] == 'true' end + def advanced_formats? + multitenant? + end + def demo? ENV['DEMO'] == 'true' end