about summary refs log tree commit diff
path: root/app/controllers/admin/custom_emojis_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-12-13 13:28:31 +0100
committerGitHub <noreply@github.com>2017-12-13 13:28:31 +0100
commitad75ec8b5b1775edaa485e94ddab69f189affde9 (patch)
tree2998cb7785ea64bbfda72b20737329651f0513dc /app/controllers/admin/custom_emojis_controller.rb
parent57fcc21a8692b36262e67c41c3469037931a4d87 (diff)
Add filters to admin UI for custom emojis (#6003)
Diffstat (limited to 'app/controllers/admin/custom_emojis_controller.rb')
-rw-r--r--app/controllers/admin/custom_emojis_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/admin/custom_emojis_controller.rb b/app/controllers/admin/custom_emojis_controller.rb
index 3fa2a0b72..ccab03de4 100644
--- a/app/controllers/admin/custom_emojis_controller.rb
+++ b/app/controllers/admin/custom_emojis_controller.rb
@@ -92,7 +92,9 @@ module Admin
     def filter_params
       params.permit(
         :local,
-        :remote
+        :remote,
+        :by_domain,
+        :shortcode
       )
     end
   end