diff --git a/app/views/server/blocks/show.html.erb b/app/views/server/blocks/show.html.erb index 90de6ebe19d2825210f4d19590a16f79cd579e53..f942741ab2048afd0c50bd9c5426c070f58bc523 100644 --- a/app/views/server/blocks/show.html.erb +++ b/app/views/server/blocks/show.html.erb @@ -12,7 +12,7 @@ </thead> <tbody> <% @blocks.each do |block| %> - <% next if block.nil?%> + <% next if block.about.nil?%> <% url = "#{block.about.university.url }#{edit_admin_communication_block_path(block)}" %> <tr> <td><%= truncate "#{block}" %></td>