Skip to content

Commit

Permalink
Use langPath() helper for publishing lang files
Browse files Browse the repository at this point in the history
  • Loading branch information
rawilk committed Feb 8, 2022
1 parent addd5e8 commit 633f2ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FormComponentsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private function bootForConsole(): void
], 'views');

$this->publishes([
__DIR__ . '/../resources/lang' => $this->app->resourcePath('lang/vendor/form-components'),
__DIR__ . '/../resources/lang' => $this->app->langPath() . '/vendor/form-components',
], 'lang');
}

Expand Down

0 comments on commit 633f2ea

Please sign in to comment.