From 89e5b01aaf74dbd8a1bce6f8dde1af986d71ffcb Mon Sep 17 00:00:00 2001 From: Kevin De Pelseneer Date: Mon, 25 Mar 2024 12:50:45 +0100 Subject: [PATCH] In case @assay does not have an assay stream --- app/views/assays/show.html.erb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/assays/show.html.erb b/app/views/assays/show.html.erb index f76fbddc3f..fabd8c63f9 100644 --- a/app/views/assays/show.html.erb +++ b/app/views/assays/show.html.erb @@ -82,18 +82,16 @@ Child assays:

<% else %>

<%= t('assays.assay_stream') %>: - <%= link_to @assay.assay_stream.title, @assay.assay_stream %> + <%= link_to @assay.assay_stream.title, @assay.assay_stream if @assay.assay_stream %>

<% end %> <% end %>