Module: EmojiHelper

Included in:
UserStatusTooltip
Defined in:
app/helpers/emoji_helper.rb

Instance Method Summary collapse

Instance Method Details

#emoji_icon(emoji_name, *options) ⇒ Object


4
5
6
7
# File 'app/helpers/emoji_helper.rb', line 4

def emoji_icon(emoji_name, *options)
  emoji = TanukiEmoji.find_by_alpha_code(emoji_name)
  raw Gitlab::Emoji.gl_emoji_tag(emoji, *options)
end