insenseanalytics /
laravel-nova-permission
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Insenseanalytics\LaravelNovaPermission; |
||
| 4 | |||
| 5 | use Illuminate\Support\ServiceProvider; |
||
| 6 | |||
| 7 | class NovaPermissionServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Bootstrap any application services. |
||
| 11 | */ |
||
| 12 | public function boot() |
||
| 13 | { |
||
| 14 | $this->loadViewsFrom(__DIR__ . '/../resources/views', 'laravel-nova-permission'); |
||
| 15 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'laravel-nova-permission'); |
||
| 16 | |||
| 17 | $this->publishes([ |
||
| 18 | __DIR__.'/../resources/lang' => resource_path('lang/vendor/laravel-nova-permission'), |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 19 | ], 'laravel-nova-permission-lang'); |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Register any application services. |
||
| 24 | */ |
||
| 25 | public function register() |
||
| 26 | { |
||
| 27 | } |
||
| 28 | } |
||
| 29 |