Add empty locale extender to clear cache properly on enable/disable.

See https://github.com/flarum/core/pull/2020#issuecomment-616149583
This commit is contained in:
Alexander Skvortsov 2020-06-19 22:28:40 -04:00
parent f8b7a24a06
commit c106cb10f6
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ return [
(new Extend\Routes('api'))
->post('/pusher/auth', 'pusher.auth', AuthController::class),
new Extend\Locales(__DIR__.'/locale'),
function (Dispatcher $events, Container $container) {
$container->bind(Pusher::class, function ($app) {
$settings = $app->make(SettingsRepositoryInterface::class);

View File