+
+<script id="annotationroutes" type="application/json">
+{
+ "prefix": "",
+ "urls": {
+ "create": "{{ path('annotations_post_annotation', { 'entry': entry.id }) }}",
+ "update": "{{ path('annotations_put_annotation', { 'annotation': 'idAnnotation' }) }}",
+ "destroy": "{{ path('annotations_delete_annotation', { 'annotation': 'idAnnotation' }) }}",
+ "search": "{{ path('annotations_get_annotations', { 'entry': entry.id }) }}"
+ },
+ "entryId": "{{ entry.id }}"
+}</script>
+