|
@@ -21,7 +21,7 @@ discard block |
|
|
block discarded – undo |
|
21
|
21
|
__DIR__.'/../config/responsive-gallery.php' => base_path('config/responsive-gallery.php'), |
|
22
|
22
|
], 'config'); |
|
23
|
23
|
|
|
24
|
|
- if (! class_exists('CreateGalleryImagesTable')) { |
|
|
24
|
+ if (!class_exists('CreateGalleryImagesTable')) { |
|
25
|
25
|
$this->publishes([ |
|
26
|
26
|
__DIR__.'/../database/migrations/create_gallery_images_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_gallery_images_table.php'), |
|
27
|
27
|
], 'migrations'); |
|
@@ -32,7 +32,7 @@ discard block |
|
|
block discarded – undo |
|
32
|
32
|
__DIR__.'/../resources/views' => resource_path('views/vendor/laravel-responsive-gallery/'), |
|
33
|
33
|
]); |
|
34
|
34
|
|
|
35
|
|
- Route::group(['middleware' => 'web'], function () { |
|
|
35
|
+ Route::group(['middleware' => 'web'], function() { |
|
36
|
36
|
//Route::get('responsive-gallery', ResponsiveGalleryController::class); |
|
37
|
37
|
Route::resource('responsive-gallery', ResponsiveGalleryController::class); |
|
38
|
38
|
}); |
|
@@ -42,7 +42,7 @@ discard block |
|
|
block discarded – undo |
|
42
|
42
|
{ |
|
43
|
43
|
$this->mergeConfigFrom(__DIR__.'/../config/responsive-gallery.php', 'responsive-gallery'); |
|
44
|
44
|
|
|
45
|
|
- $this->app->bind('gallery-index', function () { |
|
|
45
|
+ $this->app->bind('gallery-index', function() { |
|
46
|
46
|
return new ResponsiveGalleryFactory(); |
|
47
|
47
|
}); |
|
48
|
48
|
} |
Please login to merge, or discard this patch.