Fix redirection to referer after editing a link

Fixes #1545
This commit is contained in:
ArthurHoaro 2020-09-22 14:04:10 +02:00
parent 0d930454a2
commit 2785d85e0a

View file

@ -169,7 +169,7 @@ class ManageShaareController extends ShaarliAdminController
return $this->redirectFromReferer(
$request,
$response,
['add-shaare', 'shaare'], ['addlink', 'post', 'edit_link'],
['/admin/add-shaare', '/admin/shaare'], ['addlink', 'post', 'edit_link'],
$bookmark->getShortUrl()
);
}