mirror of
https://github.com/moparisthebest/wallabag
synced 2025-02-07 02:30:12 -05:00
when we delete entry, we redirect to homepage.
it's not the best way, but it's better than redirect to the referer, for example, when we're reading the entry
This commit is contained in:
parent
7f665638d0
commit
934a0c6848
@ -65,9 +65,7 @@ class EntryController
|
||||
)
|
||||
);
|
||||
|
||||
$referer = $request->headers->get('referer');
|
||||
|
||||
return $app->redirect($referer);
|
||||
return $app->redirect('/');
|
||||
}
|
||||
|
||||
public function restoreAction(Request $request, Application $app, $id)
|
||||
|
Loading…
Reference in New Issue
Block a user