diff options
author | erin <sylphofelectricity@gmail.com> | 2017-10-26 09:44:24 -0500 |
---|---|---|
committer | unarist <m.unarist@gmail.com> | 2017-10-26 23:44:24 +0900 |
commit | 22da775a8546a0496b4f501f7cb6e321b0168f40 (patch) | |
tree | eed04567edddec83dfb049e8b1a63098fe3dd617 /app | |
parent | d556be2968641c265360297fd268a24119c68670 (diff) |
Fix copying emojos: redirect to the page you were on (#5509)
Diffstat (limited to 'app')
-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 5cce5bce4..5d9144be7 100644 --- a/app/controllers/admin/custom_emojis_controller.rb +++ b/app/controllers/admin/custom_emojis_controller.rb @@ -36,7 +36,7 @@ module Admin flash[:alert] = I18n.t('admin.custom_emojis.copy_failed_msg') end - redirect_to admin_custom_emojis_path(params[:page]) + redirect_to admin_custom_emojis_path(page: params[:page]) end def enable |