]> cat aescling's git repositories - mastodon.git/commitdiff
Fix custom emojis index (#5006)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Tue, 19 Sep 2017 03:06:13 +0000 (12:06 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 19 Sep 2017 03:06:13 +0000 (05:06 +0200)
app/controllers/admin/custom_emojis_controller.rb

index 616a279b3f5c4b606644b2e7b56a463961655c56..572ad1ac2e2bac459551e868a320adab4e088b51 100644 (file)
@@ -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