Skip to content

Commit

Permalink
Update lang publish path according to the Laravel 9 convention
Browse files Browse the repository at this point in the history
Fixes #299
  • Loading branch information
dandarie committed Apr 3, 2022
1 parent f66e7a8 commit c0a3b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PermissionManagerServiceProvider.php
Expand Up @@ -42,7 +42,7 @@ public function boot()
$this->publishes([__DIR__.'/config' => config_path()], 'config');

// 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 route file
$this->publishes([__DIR__.$this->routeFilePath => base_path($this->routeFilePath)], 'routes');
Expand Down

0 comments on commit c0a3b47

Please sign in to comment.