Deleted organisations are no longer linked
This commit is contained in:
parent
5e31f27b75
commit
b50bb7712f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user