diff --git a/templates/capsule/editors/list_editors.html.twig b/templates/capsule/editors/list_editors.html.twig
index d6d82fe7347f2680e1d30f135ca998bed63ee1e4..a76a72d43ce427d39dabb07c1b3464b00b6e32c3 100644
--- a/templates/capsule/editors/list_editors.html.twig
+++ b/templates/capsule/editors/list_editors.html.twig
@@ -63,7 +63,7 @@
                     {% for pending_editor in pending_editors %}
                         <li class="text-secondary list-unstyled p-1">
                             {{ pending_editor.getEmail() }}
-                            <a href="{{ path('remove_editor', { 'capsule_id': capsule.getId(), 'editor_id': pending_editor.getId() }) }}" class="remove-link">
+                            <a href="{{ path('remove_pending_editor', { 'capsule_id': capsule.getId(), 'pending_editor_invitation_id': pending_editor.getId() }) }}" class="remove-link">
                                 {{ 'editors.remove.pending_editor.link'|trans }}
                             </a>
                         </li>
@@ -75,4 +75,4 @@
         </div>
     </div>
 
-{%  endblock %}
\ No newline at end of file
+{%  endblock %}