diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-01-20 18:31:11 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-01-20 18:31:11 +0100 |
commit | dc2ab6e646bb721ef2e1be268b876bd00e8fa802 (patch) | |
tree | a828f3968b151924656061bfc709b00565aff877 /app/controllers/admin/custom_emojis_controller.rb | |
parent | eeb8753adc98022a55051d45a137b02a2bff4c23 (diff) | |
parent | 02063c245c8a2a09e741cbce8302edf3ec14feef (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - `app/javascript/packs/public.js`: Upstream removed an unused function in code that has been refactored a bit. Removed that function in the corresponding places.
Diffstat (limited to 'app/controllers/admin/custom_emojis_controller.rb')
-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 a446465c9..efa8f2950 100644 --- a/app/controllers/admin/custom_emojis_controller.rb +++ b/app/controllers/admin/custom_emojis_controller.rb @@ -48,7 +48,7 @@ module Admin end def filter_params - params.slice(:local, :remote, :by_domain, :shortcode, :page).permit(:local, :remote, :by_domain, :shortcode, :page) + params.slice(:page, *CustomEmojiFilter::KEYS).permit(:page, *CustomEmojiFilter::KEYS) end def action_from_button |