commit: 22da775a8546a0496b4f501f7cb6e321b0168f40
parent: d556be2968641c265360297fd268a24119c68670
Author: erin <sylphofelectricity@gmail.com>
Date: Thu, 26 Oct 2017 09:44:24 -0500
Fix copying emojos: redirect to the page you were on (#5509)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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