Skip to content

Commit

Permalink
IBX-8179: Update route definition and functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Jun 28, 2024
1 parent 2f1b363 commit baf4eeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bundle/Resources/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,8 @@ ibexa.rest.role.publish:
controller: Ibexa\Rest\Server\Controller\Role::publishRoleDraft
condition: 'ibexa_get_media_type(request) === "PublishRoleInput"'
methods: [POST]
options:
options_route_suffix: '_PublishRoleInput'
requirements:
roleId: \d+

Expand Down

0 comments on commit baf4eeb

Please sign in to comment.