logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

custom_emojis_controller.rb (237B)


  1. # frozen_string_literal: true
  2. class Api::V1::CustomEmojisController < Api::BaseController
  3. respond_to :json
  4. def index
  5. render json: CustomEmoji.local.where(disabled: false), each_serializer: REST::CustomEmojiSerializer
  6. end
  7. end