|
@@ -13,21 +13,21 @@ discard block |
|
|
block discarded – undo |
|
13
|
13
|
*/ |
|
14
|
14
|
public function boot() |
|
15
|
15
|
{ |
|
16
|
|
- $this->loadRoutesFrom(__DIR__.'/web.php'); |
|
|
16
|
+ $this->loadRoutesFrom(__DIR__ . '/web.php'); |
|
17
|
17
|
|
|
18
|
|
- $viewPath = __DIR__.'/../resources/views'; |
|
|
18
|
+ $viewPath = __DIR__ . '/../resources/views'; |
|
19
|
19
|
$this->loadViewsFrom($viewPath, 'kendo-tournaments'); |
|
20
|
20
|
// $this->publishes([ $viewPath => base_path('resources/views/vendor/kendo-tournaments'),], 'kendo-tournaments'); |
|
21
|
21
|
|
|
22
|
|
- $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
|
|
22
|
+ $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
|
23
|
23
|
$this->loadTranslationsFrom(__DIR__ . '/../translations', 'kendo-tournaments'); |
|
24
|
24
|
|
|
25
|
25
|
// $this->publishes([__DIR__ . '/views' => base_path('resources/views/vendor/kendo-tournaments')]); |
|
26
|
|
- $this->publishes([__DIR__ . '/../config/kendo-tournaments.php' => config_path('kendo-tournaments.php'),'kendo-tournaments']); |
|
|
26
|
+ $this->publishes([__DIR__ . '/../config/kendo-tournaments.php' => config_path('kendo-tournaments.php'), 'kendo-tournaments']); |
|
27
|
27
|
$this->publishes([__DIR__ . '/../database/migrations' => $this->app->databasePath() . '/migrations'], 'kendo-tournaments'); |
|
28
|
28
|
$this->publishes([__DIR__ . '/../database/seeds' => $this->app->databasePath() . '/seeds'], 'kendo-tournaments'); |
|
29
|
29
|
$this->publishes([__DIR__ . '/../database/factories' => $this->app->databasePath() . '/factories'], 'kendo-tournaments'); |
|
30
|
|
- $this->publishes([__DIR__ . '/../resources/assets' => public_path('vendor/kendo-tournaments'),], 'kendo-tournaments'); |
|
|
30
|
+ $this->publishes([__DIR__ . '/../resources/assets' => public_path('vendor/kendo-tournaments'), ], 'kendo-tournaments'); |
|
31
|
31
|
|
|
32
|
32
|
} |
|
33
|
33
|
|
|
@@ -39,7 +39,7 @@ discard block |
|
|
block discarded – undo |
|
39
|
39
|
public function register() |
|
40
|
40
|
{ |
|
41
|
41
|
// Replace HTML:: y FORM:: by native html |
|
42
|
|
- include __DIR__.'/web.php'; |
|
|
42
|
+ include __DIR__ . '/web.php'; |
|
43
|
43
|
$this->app->make(TreeController::class); |
|
44
|
44
|
$this->app->make(FightController::class); |
|
45
|
45
|
} |