Deleted organisations are no longer linked

This commit is contained in:
echarp 2016-01-10 15:10:01 +01:00
parent 5e31f27b75
commit b50bb7712f
1 changed files with 4 additions and 3 deletions

View File

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