diff --git a/smash/web/templates/appointments/index.html b/smash/web/templates/appointments/index.html
index 0a44243a9216474997aa1b3d404d77cd4375f3b6..53fce7068cd7ed5f07cbaaf42144c559e2da8023 100644
--- a/smash/web/templates/appointments/index.html
+++ b/smash/web/templates/appointments/index.html
@@ -156,6 +156,7 @@
             color: '{{ appointment.color }}',
             subject_id: '{{ appointment.visit.subject.id }}',
             id: '{{ appointment.id }}',
+            url: '{% url 'web.views.appointment_edit' appointment.id %}',
           },
         {% endfor %}
           ],