Parcourir la source

posting order

master
Florian Eisenmenger il y a 2 ans
Parent
révision
fff350108a
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      src/ApiResource/PostingApi.php

+ 1
- 0
src/ApiResource/PostingApi.php Voir le fichier

@@ -46,6 +46,7 @@ use Symfony\Component\Validator\Constraints\NotBlank;
security: 'is_granted("ROLE_ADMIN")',
)
],
order: ['createdAt' => 'DESC'],
security: 'is_granted("ROLE_USER")',
provider: EntityToDtoStateProvider::class,
processor: EntityClassDtoStateProcessor::class,


Chargement…
Annuler
Enregistrer