We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a840d32 + 0386b33 commit c8c2000Copy full SHA for c8c2000
1 file changed
src/Providers/ValidationCodesProvider.php
@@ -30,16 +30,12 @@ public function register()
30
31
public function boot()
32
{
33
- $this->publishes([
34
- $this->pathTo('validation_codes.php') => $this->app->configPath('validation_codes.php'),
35
- ], 'validation_codes.config');
36
-
37
38
$this->loadTranslationsFrom($this->pathTo('lang'), 'validation_codes');
39
40
$this->publishes([
+ $this->pathTo('config/validation_codes.php') => $this->app->configPath('validation_codes.php'),
41
$this->pathTo('lang') => $this->app->langPath('vendor/validation_codes'),
42
- ]);
+ ], "validation_codes");
43
}
44
45
private function pathTo(string $directory): string
0 commit comments