1
0
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:
Nicolas Lœuillet 2014-05-30 18:11:07 +02:00
parent 7f665638d0
commit 934a0c6848

View File

@ -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)