@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | $this->loadViewsFrom(__DIR__ . '/../resources/views/nova-overrides', 'nova'); |
| 19 | 19 | |
| 20 | - Nova::serving(function (ServingNova $event) { |
|
| 20 | + Nova::serving(function(ServingNova $event) { |
|
| 21 | 21 | Nova::script('nova-categorise-resources', __DIR__ . '/../dist/js/tool.js'); |
| 22 | 22 | }); |
| 23 | 23 | } |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | { |
| 13 | 13 | public static function availableResourcesGrouped(Request $request) |
| 14 | 14 | { |
| 15 | - return collect(self::availableResources($request))->filter(function ($resource) { |
|
| 15 | + return collect(self::availableResources($request))->filter(function($resource) { |
|
| 16 | 16 | return $resource::$displayInNavigation; |
| 17 | - })->groupBy(function ($resource) { |
|
| 17 | + })->groupBy(function($resource) { |
|
| 18 | 18 | if (property_exists($resource, 'category')) { |
| 19 | 19 | return __(ucwords($resource::$category)); |
| 20 | 20 | } |