Commit ca9083ef authored by GitLab Bot's avatar GitLab Bot

Expose Gitlab.com? as window.gon.dot_com

parent c57bf235
......@@ -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