mirror of
https://github.com/flarum/core.git
synced 2025-07-17 23:01:17 +02:00
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:
@@ -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);
|
||||
|
0
extensions/pusher/locale/.gitkeep
Normal file
0
extensions/pusher/locale/.gitkeep
Normal file
Reference in New Issue
Block a user