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