@@ -40,19 +40,19 @@ |
||
40 | 40 | |
41 | 41 | // Chief directives |
42 | 42 | |
43 | - Blade::directive('adminRoute', function ($expression) { |
|
43 | + Blade::directive('adminRoute', function($expression) { |
|
44 | 44 | return "<?php echo \$manager->route({$expression}); ?>"; |
45 | 45 | }); |
46 | 46 | |
47 | - Blade::directive('adminCan', function ($expression) { |
|
47 | + Blade::directive('adminCan', function($expression) { |
|
48 | 48 | return "<?php if (\$manager->can({$expression})) { ?>"; |
49 | 49 | }); |
50 | 50 | |
51 | - Blade::directive('elseAdminCan', function () { |
|
51 | + Blade::directive('elseAdminCan', function() { |
|
52 | 52 | return '<?php } else { ?>'; |
53 | 53 | }); |
54 | 54 | |
55 | - Blade::directive('endAdminCan', function () { |
|
55 | + Blade::directive('endAdminCan', function() { |
|
56 | 56 | return '<?php } ?>'; |
57 | 57 | }); |
58 | 58 |