diff --git a/src/Providers/ValidationCodesProvider.php b/src/Providers/ValidationCodesProvider.php index 00d50d6..b463f41 100644 --- a/src/Providers/ValidationCodesProvider.php +++ b/src/Providers/ValidationCodesProvider.php @@ -30,16 +30,12 @@ public function register() public function boot() { - $this->publishes([ - $this->pathTo('validation_codes.php') => $this->app->configPath('validation_codes.php'), - ], 'validation_codes.config'); - - $this->loadTranslationsFrom($this->pathTo('lang'), 'validation_codes'); $this->publishes([ + $this->pathTo('config/validation_codes.php') => $this->app->configPath('validation_codes.php'), $this->pathTo('lang') => $this->app->langPath('vendor/validation_codes'), - ]); + ], "validation_codes"); } private function pathTo(string $directory): string