Commit bcffeade authored by Rémy Coutable's avatar Rémy Coutable Committed by James Edwards-Jones

Use ApplicationSetting.current in Admin::ApplicationSettingsController

See merge request gitlab-org/gitlab-ee!3323

Backported as part of authorized_keys in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16014
parent 07bd79cd
......@@ -52,7 +52,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController
private
def set_application_setting
@application_setting = current_application_settings
@application_setting = ApplicationSetting.current
end
def application_setting_params
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment