1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Renamed view_mode by list_mode and hide excerpt

This commit is contained in:
Nicolas Lœuillet 2016-11-28 12:08:51 +01:00
parent 56a7ce17f3
commit 9aa991281d
No known key found for this signature in database
GPG key ID: BDC1EFB5CA0145F2
10 changed files with 43 additions and 32 deletions

View file

@ -376,7 +376,7 @@ class ConfigController extends Controller
public function changeViewModeAction(Request $request)
{
$user = $this->getUser();
$user->getConfig()->setViewMode(!$user->getConfig()->getViewMode());
$user->getConfig()->setListMode(!$user->getConfig()->getListMode());
$em = $this->getDoctrine()->getManager();
$em->persist($user);