diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-28 12:08:51 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-28 16:10:21 +0100 |
commit | 9aa991281ddd315f607cabcfc3b917401d3d2104 (patch) | |
tree | 278c6a17d808bd3d9aa132d9ef93d7e54842de58 /src/Wallabag/CoreBundle/Controller | |
parent | 56a7ce17f3a9a22e0bfc8651cb690a14447e0afd (diff) | |
download | wallabag-9aa991281ddd315f607cabcfc3b917401d3d2104.tar.gz wallabag-9aa991281ddd315f607cabcfc3b917401d3d2104.tar.zst wallabag-9aa991281ddd315f607cabcfc3b917401d3d2104.zip |
Renamed view_mode by list_mode and hide excerpt
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ConfigController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index ea7cd883..68f30f6e 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php | |||
@@ -376,7 +376,7 @@ class ConfigController extends Controller | |||
376 | public function changeViewModeAction(Request $request) | 376 | public function changeViewModeAction(Request $request) |
377 | { | 377 | { |
378 | $user = $this->getUser(); | 378 | $user = $this->getUser(); |
379 | $user->getConfig()->setViewMode(!$user->getConfig()->getViewMode()); | 379 | $user->getConfig()->setListMode(!$user->getConfig()->getListMode()); |
380 | 380 | ||
381 | $em = $this->getDoctrine()->getManager(); | 381 | $em = $this->getDoctrine()->getManager(); |
382 | $em->persist($user); | 382 | $em->persist($user); |