debian-mirror-gitlab/app/helpers/emoji_helper.rb
2021-12-11 22:18:48 +05:30

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