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,9 +41,10 @@
%td= object
%td= l version.created_at, format: :short
%td
%a{ href: polymorphic_path(version.item_type.tableize.singularize,
id: version.item_id) }
%em.fa.fa-eye
- unless version.event == 'destroy'
%a{ href: polymorphic_path(version.item_type.tableize.singularize,
id: version.item_id) }
%em.fa.fa-eye
%tfoot
%tr