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

13 lines
334 B
Ruby
Raw Normal View History

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