aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index fe817711..52a03070 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -39,6 +39,8 @@ class ConfigController extends Controller
39 $em->persist($config); 39 $em->persist($config);
40 $em->flush(); 40 $em->flush();
41 41
42 $request->getSession()->set('_locale', $config->getLanguage());
43
42 // switch active theme 44 // switch active theme
43 $activeTheme = $this->get('liip_theme.active_theme'); 45 $activeTheme = $this->get('liip_theme.active_theme');
44 $activeTheme->setName($config->getTheme()); 46 $activeTheme->setName($config->getTheme());