1
0
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:
Toby Zerner
2018-07-21 21:37:49 +09:30
101 changed files with 3073 additions and 2272 deletions

View File

@@ -46,6 +46,8 @@ class SetLocale implements Middleware
$this->locales->setLocale($locale);
}
$request = $request->withAttribute('locale', $this->locales->getLocale());
return $handler->handle($request);
}
}