Commit 415fc1f7 authored by Robert Speicher's avatar Robert Speicher

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

Move default brand title to a method

See merge request gitlab-org/gitlab-ce!23632
parents 0f338434 64bcdb9e
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment