diff --git a/templates/capsule/editors/list_editors.html.twig b/templates/capsule/editors/list_editors.html.twig index 96c63345dfaaa9f8e8af1c6eeac7c47d89e57897..355ec3640f684795957c9ef547e04b113dc1dd02 100644 --- a/templates/capsule/editors/list_editors.html.twig +++ b/templates/capsule/editors/list_editors.html.twig @@ -63,7 +63,8 @@ {% for pending_editor in pending_editors %} <li class="text-secondary list-unstyled p-1"> {{ pending_editor.getEmail() }} - <a href="/capsule/{{ capsule.getId() }}/pending_editor/{{ pending_editor.getId() }}/remove" class="remove-link"> + <a href="{{ path('remove_pending_editor', {'_locale': current_user.getLocale(), 'capsule_id' : capsule.getId(), 'pending_editor_invitation_id': pending_editor.getId()}) }}" + class="remove-link"> {{ 'editors.remove.pending_editor.link'|trans }} </a> </li>