@@ -13,7 +13,7 @@ |
||
| 13 | 13 | public function indexFacility() |
| 14 | 14 | { |
| 15 | 15 | $facilities = config('adminetic.caching', true) |
| 16 | - ? (Cache::has('facilities') ? Cache::get('facilities') : Cache::rememberForever('facilities', function () { |
|
| 16 | + ? (Cache::has('facilities') ? Cache::get('facilities') : Cache::rememberForever('facilities', function() { |
|
| 17 | 17 | return Facility::orderBy('position')->get(); |
| 18 | 18 | })) |
| 19 | 19 | : Facility::orderBy('position')->get(); |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | */ |
| 189 | 189 | protected function registerResource() |
| 190 | 190 | { |
| 191 | - if (! config('website.publish_migrations', true)) { |
|
| 191 | + if (!config('website.publish_migrations', true)) { |
|
| 192 | 192 | $this->loadMigrationsFrom(__DIR__.'/../../database/migrations'); // Loading Migration Files |
| 193 | 193 | } |
| 194 | 194 | $this->loadViewsFrom(__DIR__.'/../../resources/views', 'website'); // Loading Views Files |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | */ |
| 218 | 218 | protected function registerRoutes() |
| 219 | 219 | { |
| 220 | - Route::group($this->routeConfiguration(), function () { |
|
| 220 | + Route::group($this->routeConfiguration(), function() { |
|
| 221 | 221 | $this->loadRoutesFrom(__DIR__.'/../../routes/web.php'); |
| 222 | 222 | }); |
| 223 | 223 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | public function indexPopup() |
| 15 | 15 | { |
| 16 | 16 | $popups = config('adminetic.caching', true) |
| 17 | - ? (Cache::has('popups') ? Cache::get('popups') : Cache::rememberForever('popups', function () { |
|
| 17 | + ? (Cache::has('popups') ? Cache::get('popups') : Cache::rememberForever('popups', function() { |
|
| 18 | 18 | return Popup::latest()->get(); |
| 19 | 19 | })) |
| 20 | 20 | : Popup::latest()->get(); |