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