mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08: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:
parent
f8b7a24a06
commit
c106cb10f6
|
@ -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
Loading…
Reference in New Issue
Block a user