Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-05 21:08:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-05 21:08:51 +0300
commitec18750aa8538712b952b8265581fc3b3e037923 (patch)
tree7eaf59fe40401415fde3c994bffae0031e2ffd23 /app/helpers/application_settings_helper.rb
parent61265b9f01c7db3d4f6e1266d165b1c85be7b9e7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/application_settings_helper.rb')
-rw-r--r--app/helpers/application_settings_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/application_settings_helper.rb b/app/helpers/application_settings_helper.rb
index 3da4113497f..9c408efe8cd 100644
--- a/app/helpers/application_settings_helper.rb
+++ b/app/helpers/application_settings_helper.rb
@@ -230,6 +230,7 @@ module ApplicationSettingsHelper
:hashed_storage_enabled,
:help_page_hide_commercial_content,
:help_page_support_url,
+ :help_page_documentation_base_url,
:help_page_text,
:hide_third_party_offers,
:home_page_url,
@@ -389,6 +390,10 @@ module ApplicationSettingsHelper
Gitlab::CurrentSettings.self_monitoring_project&.full_path
}
end
+
+ def show_documentation_base_url_field?
+ Feature.enabled?(:help_page_documentation_redirect)
+ end
end
ApplicationSettingsHelper.prepend_if_ee('EE::ApplicationSettingsHelper')