Skip to content

Commit

Permalink
Merge pull request #124 from dandarie/patch-1
Browse files Browse the repository at this point in the history
Update lang publish path according to the Laravel 9 convention
  • Loading branch information
tabacitu authored Apr 18, 2022
2 parents 9629899 + f81309f commit c487c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SettingsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function boot()
], 'migrations');

// publish translation files
$this->publishes([__DIR__.'/resources/lang' => resource_path('lang/vendor/backpack')], 'lang');
$this->publishes([__DIR__.'/resources/lang' => app()->langPath().'/vendor/backpack'], 'lang');

// publish setting files
$this->publishes([__DIR__.'/config' => config_path()], 'config');
Expand Down

0 comments on commit c487c53

Please sign in to comment.