mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 19:13:44 +08:00
9 lines
190 B
Ruby
9 lines
190 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class Chat::EmojisController < Chat::ChatBaseController
|
||
|
def index
|
||
|
emojis = Emoji.all.group_by(&:group)
|
||
|
render json: MultiJson.dump(emojis)
|
||
|
end
|
||
|
end
|