mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 06:42:41 +08:00
9 lines
185 B
Ruby
9 lines
185 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class EmojisController < ApplicationController
|
||
|
def index
|
||
|
emojis = Emoji.allowed.group_by(&:group)
|
||
|
render json: MultiJson.dump(emojis)
|
||
|
end
|
||
|
end
|