From 12ece8e7e98fdb2b910d189dbfd0026531e0b61f Mon Sep 17 00:00:00 2001 From: chiu Date: Sat, 26 Dec 2020 22:29:23 +0800 Subject: [PATCH] Fix bug. --- app/views/admin/web_resources/_index.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/admin/web_resources/_index.html.erb b/app/views/admin/web_resources/_index.html.erb index df66f33..8ea8dcb 100644 --- a/app/views/admin/web_resources/_index.html.erb +++ b/app/views/admin/web_resources/_index.html.erb @@ -8,10 +8,9 @@ <% @links.each do |link| %> - <% next if link.nil? %> <%= link.status_for_table %> - <%= link.category.title %> + <%= link.category.title rescue "" %> <%= link.title %>