Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
bardh78 committed Feb 3, 2024
1 parent b9ea8f3 commit 8d9ea9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file added database/.DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions src/LocaleManagerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class LocaleManagerServiceProvider extends ServiceProvider
{
public function boot(Router $router): void
{
$this->app->extend('translation.loader', function ($app) {
return new LocaleFileLoader($this->app['files'], $this->app['path.lang']);
});
// $this->app->extend('translation.loader', function ($app) {
// return new LocaleFileLoader($this->app['files'], $this->app['path.lang']);
// });

$this->app->singleton(LocaleManager::class);
$router->aliasMiddleware('locale', SetLocale::class);
Expand Down

0 comments on commit 8d9ea9f

Please sign in to comment.