@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace LaravelFlare\Flare\Providers; |
| 4 | 4 | |
| 5 | -use Route; |
|
| 6 | 5 | use Illuminate\Routing\Router; |
| 7 | 6 | use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; |
| 8 | 7 | |
@@ -14,29 +14,29 @@ discard block |
||
| 14 | 14 | { |
| 15 | 15 | // Assets |
| 16 | 16 | $this->publishes([ |
| 17 | - __DIR__.'/../public/flare' => public_path('vendor/flare'), |
|
| 18 | - __DIR__.'/../public/AdminLTE/bootstrap' => public_path('vendor/flare/bootstrap'), |
|
| 19 | - __DIR__.'/../public/AdminLTE/dist' => public_path('vendor/flare'), |
|
| 20 | - __DIR__.'/../public/AdminLTE/plugins' => public_path('vendor/flare/plugins'), |
|
| 17 | + __DIR__ . '/../public/flare' => public_path('vendor/flare'), |
|
| 18 | + __DIR__ . '/../public/AdminLTE/bootstrap' => public_path('vendor/flare/bootstrap'), |
|
| 19 | + __DIR__ . '/../public/AdminLTE/dist' => public_path('vendor/flare'), |
|
| 20 | + __DIR__ . '/../public/AdminLTE/plugins' => public_path('vendor/flare/plugins'), |
|
| 21 | 21 | ], 'public'); |
| 22 | 22 | |
| 23 | 23 | // Config |
| 24 | 24 | $this->publishes([ |
| 25 | - __DIR__.'/../config/flare.php' => config_path('flare.php'), |
|
| 25 | + __DIR__ . '/../config/flare.php' => config_path('flare.php'), |
|
| 26 | 26 | ]); |
| 27 | 27 | |
| 28 | 28 | // Database Migrations |
| 29 | 29 | $this->publishes([ |
| 30 | - __DIR__.'/Database/Migrations' => base_path('database/migrations'), |
|
| 30 | + __DIR__ . '/Database/Migrations' => base_path('database/migrations'), |
|
| 31 | 31 | ]); |
| 32 | 32 | |
| 33 | 33 | // Binds the Permissions interface to the defined Permissions class |
| 34 | 34 | $this->app->bind(\LaravelFlare\Flare\Contracts\Permissions\Permissionable::class, \Flare::config('permissions')); |
| 35 | 35 | |
| 36 | 36 | // Views |
| 37 | - $this->loadViewsFrom(__DIR__.'/../resources/views', 'flare'); |
|
| 37 | + $this->loadViewsFrom(__DIR__ . '/../resources/views', 'flare'); |
|
| 38 | 38 | $this->publishes([ |
| 39 | - __DIR__.'/../resources/views' => base_path('resources/views/vendor/flare'), |
|
| 39 | + __DIR__ . '/../resources/views' => base_path('resources/views/vendor/flare'), |
|
| 40 | 40 | ]); |
| 41 | 41 | |
| 42 | 42 | $this->registerBladeOperators(); |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | { |
| 50 | 50 | // Merge Config |
| 51 | 51 | $this->mergeConfigFrom( |
| 52 | - __DIR__.'/../config/flare.php', 'flare' |
|
| 52 | + __DIR__ . '/../config/flare.php', 'flare' |
|
| 53 | 53 | ); |
| 54 | 54 | |
| 55 | 55 | $this->registerServiceProviders(); |