@@ -31,19 +31,19 @@ |
||
| 31 | 31 | Blade::component('chief::templates.page.multisite-template', 'chief::page.multisite-template'); |
| 32 | 32 | |
| 33 | 33 | // Chief directives |
| 34 | - Blade::directive('adminRoute', function ($expression) { |
|
| 34 | + Blade::directive('adminRoute', function($expression) { |
|
| 35 | 35 | return "<?php echo \$manager->route({$expression}); ?>"; |
| 36 | 36 | }); |
| 37 | 37 | |
| 38 | - Blade::directive('adminCan', function ($expression) { |
|
| 38 | + Blade::directive('adminCan', function($expression) { |
|
| 39 | 39 | return "<?php if (isset(\$manager) && \$manager->can({$expression})) { ?>"; |
| 40 | 40 | }); |
| 41 | 41 | |
| 42 | - Blade::directive('elseAdminCan', function () { |
|
| 42 | + Blade::directive('elseAdminCan', function() { |
|
| 43 | 43 | return '<?php } else { ?>'; |
| 44 | 44 | }); |
| 45 | 45 | |
| 46 | - Blade::directive('endAdminCan', function () { |
|
| 46 | + Blade::directive('endAdminCan', function() { |
|
| 47 | 47 | return '<?php } ?>'; |
| 48 | 48 | }); |
| 49 | 49 | |