mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Changed behavior when we change language
No need to disconnect to apply the language substitution
This commit is contained in:
parent
5cf9604004
commit
ece4718f63
13 changed files with 14 additions and 12 deletions
|
@ -38,6 +38,8 @@ class ConfigController extends Controller
|
|||
$em->persist($config);
|
||||
$em->flush();
|
||||
|
||||
$request->getSession()->set('_locale', $config->getLanguage());
|
||||
|
||||
// switch active theme
|
||||
$activeTheme = $this->get('liip_theme.active_theme');
|
||||
$activeTheme->setName($config->getTheme());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue