Improve admin UI for custom emojis, add copy/disable/enable (#5231)
This commit is contained in:
parent
b9c76e2edb
commit
49cc0eb3e7
13 changed files with 330 additions and 15 deletions
|
@ -4,6 +4,6 @@ class Api::V1::CustomEmojisController < Api::BaseController
|
|||
respond_to :json
|
||||
|
||||
def index
|
||||
render json: CustomEmoji.local, each_serializer: REST::CustomEmojiSerializer
|
||||
render json: CustomEmoji.local.where(disabled: false), each_serializer: REST::CustomEmojiSerializer
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue