Explorar el Código

posting order

master
Florian Eisenmenger hace 2 años
padre
commit
fff350108a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/ApiResource/PostingApi.php

+ 1
- 0
src/ApiResource/PostingApi.php Ver fichero

@@ -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,


Cargando…
Cancelar
Guardar