]> cat aescling's git repositories - mastodon.git/blob - app/controllers/api/v1/custom_emojis_controller.rb
New API: GET /api/v1/custom_emojis to get a server's custom emojis (#5051)
[mastodon.git] / app / controllers / api / v1 / custom_emojis_controller.rb
1 # frozen_string_literal: true
2
3 class Api::V1::CustomEmojisController < Api::BaseController
4 respond_to :json
5
6 def index
7 render json: CustomEmoji.local, each_serializer: REST::CustomEmojiSerializer
8 end
9 end
This page took 0.070393 seconds and 4 git commands to generate.