make annotation storing and retrieving more generic

This commit is contained in:
Pfingstfrosch
2020-06-04 22:14:21 +02:00
parent 88783ffede
commit 74cc3dce22
4 changed files with 25 additions and 13 deletions
@@ -20,6 +20,6 @@
<!-- <p>Employee: <%#= @person.employee %></p>-->
<%= button_to 'Add to favorites', action: :add_to_fav, tiss_id: @person['tiss_id'], class: 'button' %>
<%= render_personal_annotations @person['tiss_id'], @stored_person %>
<%= render_personal_annotations @person['tiss_id'], @personal_annotation %>
<% end %>