diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-22 14:15:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 14:15:13 +0200 |
commit | 5baafe5001ef2fbe88d3fcdcc225ec12edd3fef1 (patch) | |
tree | 99c4555ecf05119e2dbd4d151bedb470aee597b7 /application/front/controller/admin | |
parent | 98e7a59ca21b51cbd86d09cd5d217c0c8bf3db77 (diff) | |
parent | 2785d85e0a7e952fe2de349659b36091fd5f1d51 (diff) | |
download | Shaarli-5baafe5001ef2fbe88d3fcdcc225ec12edd3fef1.tar.gz Shaarli-5baafe5001ef2fbe88d3fcdcc225ec12edd3fef1.tar.zst Shaarli-5baafe5001ef2fbe88d3fcdcc225ec12edd3fef1.zip |
Merge pull request #1559 from ArthurHoaro/fix/edit-redirect
Fix redirection to referer after editing a link
Diffstat (limited to 'application/front/controller/admin')
-rw-r--r-- | application/front/controller/admin/ManageShaareController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/front/controller/admin/ManageShaareController.php b/application/front/controller/admin/ManageShaareController.php index 33e1188e..ca2da9b5 100644 --- a/application/front/controller/admin/ManageShaareController.php +++ b/application/front/controller/admin/ManageShaareController.php | |||
@@ -169,7 +169,7 @@ class ManageShaareController extends ShaarliAdminController | |||
169 | return $this->redirectFromReferer( | 169 | return $this->redirectFromReferer( |
170 | $request, | 170 | $request, |
171 | $response, | 171 | $response, |
172 | ['add-shaare', 'shaare'], ['addlink', 'post', 'edit_link'], | 172 | ['/admin/add-shaare', '/admin/shaare'], ['addlink', 'post', 'edit_link'], |
173 | $bookmark->getShortUrl() | 173 | $bookmark->getShortUrl() |
174 | ); | 174 | ); |
175 | } | 175 | } |