mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-18 13:17:35 +00:00
Fix copying emojos: redirect to the page you were on (#5509)
This commit is contained in:
parent
d556be2968
commit
22da775a85
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue