about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-09-19 12:06:13 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-19 05:06:13 +0200
commit1664e52cbb5ec08db896127640bd0554cee1d384 (patch)
tree43c5da13036d67b7d87b81a304b4c296bc6e1600
parentdce869dfc7d4e6338da2f0d72b0a9fb2bf6d5351 (diff)
Fix custom emojis index (#5006)
-rw-r--r--app/controllers/admin/custom_emojis_controller.rb2
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 616a279b3..572ad1ac2 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(uri: nil)
+      @custom_emojis = CustomEmoji.where(domain: nil)
     end
 
     def new