@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function indexImage() |
| 14 | 14 | { |
| 15 | 15 | $images = config('adminetic.caching', true) |
| 16 | - ? (Cache::has('images') ? Cache::get('images') : Cache::rememberForever('images', function () { |
|
| 16 | + ? (Cache::has('images') ? Cache::get('images') : Cache::rememberForever('images', function() { |
|
| 17 | 17 | return Image::latest()->get(); |
| 18 | 18 | })) |
| 19 | 19 | : Image::latest()->get(); |