提交 415fc1f7 编写于 作者: R Robert Speicher

Merge branch 'default-brand-title' into 'master'

Move default brand title to a method

See merge request gitlab-org/gitlab-ce!23632
......@@ -2,7 +2,12 @@
module AppearancesHelper
def brand_title
current_appearance&.title.presence || 'GitLab Community Edition'
current_appearance&.title.presence || default_brand_title
end
def default_brand_title
# This resides in a separate method so that EE can easily redefine it.
'GitLab Community Edition'
end
def brand_image
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册