gitlab-org--gitlab-foss/lib/award_emoji.rb

13 lines
334 B
Ruby
Raw Normal View History

2015-11-18 10:38:15 -05:00
class AwardEmoji
2015-11-18 18:31:15 -05:00
EMOJI_LIST = [
"+1", "-1", "100", "blush", "heart", "smile", "rage",
2015-11-18 10:38:15 -05:00
"beers", "disappointed", "ok_hand",
"helicopter", "shit", "airplane", "alarm_clock",
2015-11-18 18:31:15 -05:00
"ambulance", "anguished", "two_hearts", "wink"
]
def self.path_to_emoji_image(name)
"emoji/#{Emoji.emoji_filename(name)}.png"
end
2015-11-18 18:31:15 -05:00
end