From 1eb541ecf261326cff515a0942c06334cf227903 Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 26 Dec 2020 22:24:54 +0800 Subject: [PATCH] Fix bug. --- app/views/admin/web_resources/_index.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/admin/web_resources/_index.html.erb b/app/views/admin/web_resources/_index.html.erb index 38e93aa..df66f33 100644 --- a/app/views/admin/web_resources/_index.html.erb +++ b/app/views/admin/web_resources/_index.html.erb @@ -8,6 +8,7 @@ <% @links.each do |link| %> + <% next if link.nil? %> <%= link.status_for_table %> <%= link.category.title %>