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