aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/ConfigController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/ConfigController.php')
-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 91cdcae5..46fb9503 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -38,6 +38,8 @@ class ConfigController extends Controller
38 $em->persist($config); 38 $em->persist($config);
39 $em->flush(); 39 $em->flush();
40 40
41 $request->getSession()->set('_locale', $config->getLanguage());
42
41 // switch active theme 43 // switch active theme
42 $activeTheme = $this->get('liip_theme.active_theme'); 44 $activeTheme = $this->get('liip_theme.active_theme');
43 $activeTheme->setName($config->getTheme()); 45 $activeTheme->setName($config->getTheme());