gitlab-org--gitlab-foss/lib/emoji.rb
2012-10-05 07:42:23 -07:00

4 lines
141 B
Ruby

module Emoji
path = "#{Rails.root}/vendor/assets/images/emoji"
NAMES = Dir["#{path}/*.png"].sort.map {|f| File.basename(f, '.png')}
end