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:
parent
56a7ce17f3
commit
9aa991281d
10 changed files with 43 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue