|
@@ -24,11 +24,11 @@ discard block |
|
|
block discarded – undo |
|
24
|
24
|
$this->loadViewsFrom(__DIR__.'/types', 'types'); |
|
25
|
25
|
|
|
26
|
26
|
// Publish the files |
|
27
|
|
- $this->publishes([__DIR__.'/configs/crudbooster.php' => config_path('crudbooster.php')],'cb_config'); |
|
|
27
|
+ $this->publishes([__DIR__.'/configs/crudbooster.php' => config_path('crudbooster.php')], 'cb_config'); |
|
28
|
28
|
$this->publishes([__DIR__.'/localization' => resource_path('lang')], 'cb_localization'); |
|
29
|
|
- $this->publishes([__DIR__.'/database' => base_path('database')],'cb_migration'); |
|
30
|
|
- $this->publishes([__DIR__.'/templates/CBHook.stub'=> app_path('Http/CBHook.php')],'cb_hook'); |
|
31
|
|
- $this->publishes([__DIR__ . '/assets' =>public_path('cb_asset')],'cb_asset'); |
|
|
29
|
+ $this->publishes([__DIR__.'/database' => base_path('database')], 'cb_migration'); |
|
|
30
|
+ $this->publishes([__DIR__.'/templates/CBHook.stub'=> app_path('Http/CBHook.php')], 'cb_hook'); |
|
|
31
|
+ $this->publishes([__DIR__.'/assets' =>public_path('cb_asset')], 'cb_asset'); |
|
32
|
32
|
|
|
33
|
33
|
require __DIR__.'/validations/validation.php'; |
|
34
|
34
|
require __DIR__.'/routes.php'; |
|
@@ -44,14 +44,14 @@ discard block |
|
|
block discarded – undo |
|
44
|
44
|
require __DIR__.'/helpers/Helper.php'; |
|
45
|
45
|
|
|
46
|
46
|
// Singletons |
|
47
|
|
- $this->app->singleton('crudbooster', function () |
|
|
47
|
+ $this->app->singleton('crudbooster', function() |
|
48
|
48
|
{ |
|
49
|
49
|
return true; |
|
50
|
50
|
}); |
|
51
|
51
|
$this->app->singleton('ColumnSingleton', ColumnSingleton::class); |
|
52
|
52
|
|
|
53
|
53
|
// Merging configuration |
|
54
|
|
- $this->mergeConfigFrom(__DIR__.'/configs/crudbooster.php','crudbooster'); |
|
|
54
|
+ $this->mergeConfigFrom(__DIR__.'/configs/crudbooster.php', 'crudbooster'); |
|
55
|
55
|
|
|
56
|
56
|
|
|
57
|
57
|
// Register Commands |