diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-23 01:57:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-23 01:57:23 +0200 |
commit | 293972f716476933df2b665ad755cafe4d29d82d (patch) | |
tree | 6719153a554c918800d8eb3f1624d9e0d666318c /app/controllers/admin | |
parent | 9c8e602163811fc9a21c5ae78d53d46d7dbc8db7 (diff) |
New API: GET /api/v1/custom_emojis to get a server's custom emojis (#5051)
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/custom_emojis_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/custom_emojis_controller.rb b/app/controllers/admin/custom_emojis_controller.rb index 572ad1ac2..d70514d9a 100644 --- a/app/controllers/admin/custom_emojis_controller.rb +++ b/app/controllers/admin/custom_emojis_controller.rb @@ -3,7 +3,7 @@ module Admin class CustomEmojisController < BaseController def index - @custom_emojis = CustomEmoji.where(domain: nil) + @custom_emojis = CustomEmoji.local end def new |