From: erin Date: Thu, 26 Oct 2017 14:44:24 +0000 (-0500) Subject: Fix copying emojos: redirect to the page you were on (#5509) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=22da775a8546a0496b4f501f7cb6e321b0168f40;p=mastodon.git Fix copying emojos: redirect to the page you were on (#5509) --- 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