mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 15:42:32 -05:00
install app message
This commit is contained in:
1 parent
038d780265
commit
5353e8fa23
6 files changed
+43
-1
No files matched your search
@@ -166,7 +166,14 @@ Rails.application.configure do
|
||||
|
||||
current_user = controller.instance_variable_get(:@current_user)
|
||||
|
||||
os = DetectBrowserDevice.os(controller.request.user_agent) if ENV['MULTITENANT'] == 'true'
|
||||
if ENV['MULTITENANT'] == 'true'
|
||||
os =
|
||||
if defined?(controller.browser_os)
|
||||
controller.browser_os
|
||||
else
|
||||
DetectBrowserDevice.os(controller.request.user_agent)
|
||||
end
|
||||
end
|
||||
|
||||
{
|
||||
host: controller.request.host,
|
||||
|
||||
Reference in new issue
Block a user