Welcome to mirror list, hosted at ThFree Co, Russian Federation.

award_emoji.rb « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d58a196c4efda38b8875ea78256072b0818a2a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class AwardEmoji
  EMOJI_LIST = [
    "+1", "-1", "100", "blush", "heart", "smile", "rage",
    "beers", "disappointed", "ok_hand",
    "helicopter", "shit", "airplane", "alarm_clock",
    "ambulance", "anguished", "two_hearts", "wink"
  ]

  def self.path_to_emoji_image(name)
    "emoji/#{Emoji.emoji_filename(name)}.png"
  end
end