Deleted organisations are no longer linked

This commit is contained in:
echarp 2016-01-10 15:10:01 +01:00
parent 5e31f27b75
commit b50bb7712f

View File

@ -41,6 +41,7 @@
%td= object %td= object
%td= l version.created_at, format: :short %td= l version.created_at, format: :short
%td %td
- unless version.event == 'destroy'
%a{ href: polymorphic_path(version.item_type.tableize.singularize, %a{ href: polymorphic_path(version.item_type.tableize.singularize,
id: version.item_id) } id: version.item_id) }
%em.fa.fa-eye %em.fa.fa-eye