Skip to content

Commit

Permalink
IBX-8079: Inconsistent redirect point after role assignment action (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarl authored Jul 2, 2024
1 parent 81d2231 commit 7d1971c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bundle/Controller/RoleAssignmentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ public function createAction(Request $request, Role $role): Response

return new RedirectResponse($this->generateUrl('ezplatform.role.view', [
'roleId' => $role->id,
'_fragment' => 'users-and-groups',
]));
});

Expand Down Expand Up @@ -220,6 +221,7 @@ public function bulkDeleteAction(Request $request, Role $role): Response

return new RedirectResponse($this->generateUrl('ezplatform.role.view', [
'roleId' => $role->id,
'_fragment' => 'users-and-groups',
]));
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public function createStructure(array $options): ItemInterface
'route' => 'ezplatform.role.view',
'routeParameters' => [
'roleId' => $role->id,
'_fragment' => 'users-and-groups',
],
'extras' => ['icon' => 'circle-close'],
]
Expand Down

0 comments on commit 7d1971c

Please sign in to comment.