mirror of
https://github.com/flarum/core.git
synced 2025-10-14 16:34:26 +02:00
Merge branch 'master' into 1236-database-changes
# Conflicts: # src/Forum/Controller/IndexController.php # src/User/UserMetadataUpdater.php
This commit is contained in:
@@ -46,6 +46,8 @@ class SetLocale implements Middleware
|
||||
$this->locales->setLocale($locale);
|
||||
}
|
||||
|
||||
$request = $request->withAttribute('locale', $this->locales->getLocale());
|
||||
|
||||
return $handler->handle($request);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user