gitlab-org--gitlab-foss/app/services/labels/base_service.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
174 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-03-29 11:45:15 +00:00
module Labels
class BaseService < ::BaseService
def convert_color_name_to_hex
::Gitlab::Color.of(params[:color])
2017-03-29 11:45:15 +00:00
end
end
end