Add suggest_colors from LabelsHelper

This commit is contained in:
Kushal Pandya 2018-03-05 18:03:25 +05:30
parent 53de2737fd
commit e7789ed919

View file

@ -20,6 +20,7 @@ module Gitlab
gon.sprite_icons = IconsHelper.sprite_icon_path
gon.sprite_file_icons = IconsHelper.sprite_file_icons_path
gon.test_env = Rails.env.test?
gon.suggested_label_colors = LabelsHelper.suggested_colors
if current_user
gon.current_user_id = current_user.id