Change api usernames to links in contact show

This commit is contained in:
Martin Lensment 2015-03-12 17:33:06 +02:00
parent e36c9fde39
commit 7037ad9b08

View file

@ -32,13 +32,13 @@
%dd %dd
= l(@contact.created_at, format: :short) = l(@contact.created_at, format: :short)
by by
= @contact.creator = link_to(@contact.creator, [:admin, @contact.creator])
%dt= t(:updated) %dt= t(:updated)
%dd %dd
= l(@contact.updated_at, format: :short) = l(@contact.updated_at, format: :short)
by by
= @contact.updator = link_to(@contact.updator, [:admin, @contact.updator])
%dt= t(:registrar) %dt= t(:registrar)