gitlab-org--gitlab-foss/app/helpers/emoji_helper.rb

8 lines
206 B
Ruby

# frozen_string_literal: true
module EmojiHelper
def emoji_icon(emoji_name, *options)
emoji = TanukiEmoji.find_by_alpha_code(emoji_name)
raw Gitlab::Emoji.gl_emoji_tag(emoji, *options)
end
end