Chore: Add an option to toggle web manifest (#848)

This commit is contained in:
Pranav Raj S
2020-05-12 12:45:28 +05:30
committed by GitHub
parent f819bc0f33
commit d219b0a45e
5 changed files with 50 additions and 22 deletions

View File

@@ -1,5 +1,21 @@
class DashboardController < ActionController::Base
before_action :set_global_config
layout 'vueapp'
def index; end
private
def set_global_config
@global_config = GlobalConfig.get(
'LOGO',
'LOGO_THUMBNAIL',
'INSTALLATION_NAME',
'WIDGET_BRAND_URL',
'TERMS_URL',
'PRIVACY_URL',
'DISPLAY_MANIFEST'
)
end
end