From 30adb70298688416f7c3d609f8af6503b4328d65 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Fri, 19 Nov 2021 15:30:05 +0100 Subject: [PATCH] test --- app/views/admin/communication/websites/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/communication/websites/index.html.erb b/app/views/admin/communication/websites/index.html.erb index 5d2e263f6..98b938fdd 100644 --- a/app/views/admin/communication/websites/index.html.erb +++ b/app/views/admin/communication/websites/index.html.erb @@ -16,7 +16,7 @@ <td><%= link_to website, [:admin, website] %></td> <td><%= link_to website.domain_url, website.domain_url, target: :_blank %></td> <td><%= I18n.t("activerecord.attributes.communication/website.about_#{website.about_type}") %></td> - <td><%= link_to website.about, [:admin, website.about] %></td> + <td><%= link_to website.about, [:admin, website.about] if website.about %></td> <td class="text-end"> <div class="btn-group" role="group"> <%= edit_link website %> -- GitLab