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

lolsob-rspec
erin 2017-10-26 09:44:24 -05:00 committed by unarist
parent e6f7ccb786
commit fe11a72c0b
1 changed files with 1 additions and 1 deletions

View File

@ -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