Test Setup Failed
Push — ft/sorting-nestable ( 6eae5f )
by Ben
10:08
created
app/Providers/ViewServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
         $this->loadViewsFrom(__DIR__.'/../../resources/views', 'chief');
15 15
 
16 16
         // Fragment components
17
-        $this->app['view']->addNamespace('chief-fragments', __DIR__ . '/../../src/Fragments/resources');
17
+        $this->app['view']->addNamespace('chief-fragments', __DIR__.'/../../src/Fragments/resources');
18 18
 
19 19
         Blade::componentNamespace('Thinktomorrow\\Chief\\App\\View\\Components', 'chief');
20 20
 
@@ -41,19 +41,19 @@  discard block
 block discarded – undo
41 41
         Livewire::component('chief-wire::list-options', ListOptions::class);
42 42
 
43 43
         // Chief directives
44
-        Blade::directive('adminRoute', function ($expression) {
44
+        Blade::directive('adminRoute', function($expression) {
45 45
             return "<?php echo \$manager->route({$expression}); ?>";
46 46
         });
47 47
 
48
-        Blade::directive('adminCan', function ($expression) {
48
+        Blade::directive('adminCan', function($expression) {
49 49
             return "<?php if (isset(\$manager) && \$manager->can({$expression})) { ?>";
50 50
         });
51 51
 
52
-        Blade::directive('elseAdminCan', function () {
52
+        Blade::directive('elseAdminCan', function() {
53 53
             return '<?php } else { ?>';
54 54
         });
55 55
 
56
-        Blade::directive('endAdminCan', function () {
56
+        Blade::directive('endAdminCan', function() {
57 57
             return '<?php } ?>';
58 58
         });
59 59
 
Please login to merge, or discard this patch.