summaryrefslogtreecommitdiff
path: root/app/helpers/emoji_helper.rb
blob: c390924f7e355568a43984b043bc7babc3bad327 (plain)
1
2
3
4
5
6
7
8
# 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