diff --git a/src/LaravelPtBRLocalizationServiceProvider.php b/src/LaravelPtBRLocalizationServiceProvider.php index 702be6c..0e56d5f 100644 --- a/src/LaravelPtBRLocalizationServiceProvider.php +++ b/src/LaravelPtBRLocalizationServiceProvider.php @@ -1,6 +1,9 @@ version(), 0, 1) > 8 && method_exists(app(), 'langPath')) ? app()['langPath'] : resource_path; $this->publishes([ - __DIR__ . '/pt-BR.json' => $path_command('lang/pt-BR.json'), - __DIR__ . '/pt-BR' => $path_command('lang/pt-BR'), + __DIR__ . '/pt-BR.json' => $this->app->langPath() . '/pt-BR.json', + __DIR__ . '/pt-BR' => $this->app->langPath() . '/pt-BR', ], 'laravel-pt-br-localization'); } }