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>2023-02-21 00:11:36 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-21 00:11:36 +0300
commit61a1cd3b8389a7f5553bae90655710ed9b39ddff (patch)
tree52b9e65c4dbf1baf63a8ef52edc79f3eedfbf0d1 /lib/gitlab/color_schemes.rb
parent72c050db64bd61ae767f47c4fa2bc97b94a67592 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/color_schemes.rb')
-rw-r--r--lib/gitlab/color_schemes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/color_schemes.rb b/lib/gitlab/color_schemes.rb
index 3884f5f0428..1ba99e23d65 100644
--- a/lib/gitlab/color_schemes.rb
+++ b/lib/gitlab/color_schemes.rb
@@ -46,7 +46,7 @@ module Gitlab
#
# Returns a Scheme
def self.default
- by_id(1)
+ by_id(Gitlab::CurrentSettings.default_syntax_highlighting_theme)
end
# Iterate through each Scheme