debian-mirror-gitlab/app/services/labels/base_service.rb

10 lines
174 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module Labels
class BaseService < ::BaseService
def convert_color_name_to_hex
2022-05-07 20:08:51 +05:30
::Gitlab::Color.of(params[:color])
2017-08-17 22:00:37 +05:30
end
end
end