2019-08-14 09:48:44 +00:00
|
|
|
class DashboardController < ActionController::Base
|
2020-05-12 07:15:28 +00:00
|
|
|
before_action :set_global_config
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
layout 'vueapp'
|
|
|
|
|
2019-10-20 08:47:26 +00:00
|
|
|
def index; end
|
2020-05-12 07:15:28 +00:00
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def set_global_config
|
|
|
|
@global_config = GlobalConfig.get(
|
|
|
|
'LOGO',
|
|
|
|
'LOGO_THUMBNAIL',
|
|
|
|
'INSTALLATION_NAME',
|
|
|
|
'WIDGET_BRAND_URL',
|
|
|
|
'TERMS_URL',
|
|
|
|
'PRIVACY_URL',
|
|
|
|
'DISPLAY_MANIFEST'
|
|
|
|
)
|
|
|
|
end
|
2019-10-20 08:47:26 +00:00
|
|
|
end
|