From 6d2b934d449340e82d4f7d75ccd0e0d166972c57 Mon Sep 17 00:00:00 2001 From: Andrei Vukolov Date: Mon, 25 Jun 2018 17:44:03 +0000 Subject: Fix initial settings loading at the first run of GitLab installed from source --- app/controllers/admin/application_settings_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/admin') diff --git a/app/controllers/admin/application_settings_controller.rb b/app/controllers/admin/application_settings_controller.rb index ef84d664075..9723e400574 100644 --- a/app/controllers/admin/application_settings_controller.rb +++ b/app/controllers/admin/application_settings_controller.rb @@ -52,7 +52,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController private def set_application_setting - @application_setting = Gitlab::CurrentSettings#current_application_settings + @application_setting = Gitlab::CurrentSettings.current_application_settings end def application_setting_params -- cgit v1.2.1