Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5eb4921c60 | ||
| c7e32c74b6 | |||
| e9850fdb2e |
@@ -1,2 +1,2 @@
|
|||||||
parameters:
|
parameters:
|
||||||
app.version: '0.1.14'
|
app.version: '0.1.15'
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ use Symfony\Component\Serializer\Attribute\Groups;
|
|||||||
new Post(
|
new Post(
|
||||||
uriTemplate: '/applications/{slug}/environments',
|
uriTemplate: '/applications/{slug}/environments',
|
||||||
uriVariables: [
|
uriVariables: [
|
||||||
'slug' => new Link(fromClass: Application::class, fromProperty: 'environments'),
|
'slug' => new Link(toProperty: 'application', fromClass: Application::class, identifiers: ['slug']),
|
||||||
],
|
],
|
||||||
security: "is_granted('ROLE_ADMIN')",
|
security: "is_granted('ROLE_ADMIN')",
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user