Merge pull request #1559 from ArthurHoaro/fix/edit-redirect
Fix redirection to referer after editing a link
This commit is contained in:
commit
5baafe5001
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ public function save(Request $request, Response $response): Response
|
||||||
return $this->redirectFromReferer(
|
return $this->redirectFromReferer(
|
||||||
$request,
|
$request,
|
||||||
$response,
|
$response,
|
||||||
['add-shaare', 'shaare'], ['addlink', 'post', 'edit_link'],
|
['/admin/add-shaare', '/admin/shaare'], ['addlink', 'post', 'edit_link'],
|
||||||
$bookmark->getShortUrl()
|
$bookmark->getShortUrl()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue