Commit dd53c00c authored by Paul Slaughter's avatar Paul Slaughter

Merge branch 'leipert-expose-gitlab-com-on-window-gon' into 'master'

Expose Gitlab.com? as window.gon.dot_com

See merge request gitlab-org/gitlab!53841
parents fe77fc98 ca9083ef
......@@ -33,6 +33,7 @@ module Gitlab
gon.suggested_label_colors = LabelsHelper.suggested_colors
gon.first_day_of_week = current_user&.first_day_of_week || Gitlab::CurrentSettings.first_day_of_week
gon.ee = Gitlab.ee?
gon.dot_com = Gitlab.com?
if current_user
gon.current_user_id = current_user.id
......
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