discourse/app/serializers/emoji_serializer.rb

4 lines
75 B
Ruby

class EmojiSerializer < ApplicationSerializer
attributes :name, :url
end