Skip to content
Snippets Groups Projects
Commit 22da775a authored by erin's avatar erin Committed by unarist
Browse files

Fix copying emojos: redirect to the page you were on (#5509)

parent d556be29
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ module Admin ...@@ -36,7 +36,7 @@ module Admin
flash[:alert] = I18n.t('admin.custom_emojis.copy_failed_msg') flash[:alert] = I18n.t('admin.custom_emojis.copy_failed_msg')
end end
redirect_to admin_custom_emojis_path(params[:page]) redirect_to admin_custom_emojis_path(page: params[:page])
end end
def enable def enable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment