<%= govuk_link_to "Log #{log.id}", send("#{log.log_type}_path", log) %>

Created <% if log.assigned_to %> Assigned to <%= log.assigned_to.name || log.assigned_to.email %> <% end %>