2017-09-22 19:57:23 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Api::V1::CustomEmojisController < Api::BaseController
|
|
|
|
respond_to :json
|
|
|
|
|
|
|
|
def index
|
2017-10-05 17:42:05 -04:00
|
|
|
render json: CustomEmoji.local.where(disabled: false), each_serializer: REST::CustomEmojiSerializer
|
2017-09-22 19:57:23 -04:00
|
|
|
end
|
|
|
|
end
|