@@ -8,10 +8,10 @@ |
||
| 8 | 8 | global $db; |
| 9 | 9 | |
| 10 | 10 | return [ |
| 11 | - new Guard('get_one_damage', function(User $user){ |
|
| 11 | + new Guard('get_one_damage', function(User $user) { |
|
| 12 | 12 | return $user->rights->flightlog->vol->financial; |
| 13 | 13 | }), |
| 14 | - new Guard('create_damage', function(User $user){ |
|
| 14 | + new Guard('create_damage', function(User $user) { |
|
| 15 | 15 | return $user->rights->flightlog->vol->financial; |
| 16 | 16 | }), |
| 17 | 17 | ]; |