gitlabhq/lib/emoji.rb

5 lines
141 B
Ruby
Raw Normal View History

2012-10-05 16:13:21 +02:00
module Emoji
path = "#{Rails.root}/vendor/assets/images/emoji"
NAMES = Dir["#{path}/*.png"].sort.map {|f| File.basename(f, '.png')}
end