From f6097b30e7bee3de03d4cd6ec663695ff6490019 Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Wed, 15 Jun 2016 08:37:06 +0200 Subject: [PATCH] undefined method 'html_safe' for nil:NilClass --- app/views/dmsf/_dir.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dmsf/_dir.html.erb b/app/views/dmsf/_dir.html.erb index aa69aed9..4a136309 100644 --- a/app/views/dmsf/_dir.html.erb +++ b/app/views/dmsf/_dir.html.erb @@ -32,7 +32,7 @@ <%= link_to(h(title), dmsf_folder_path(:id => project, :folder_id => subfolder), :class => 'icon icon-folder', - :title => subfolder.description.html_safe) %> + :title => h(subfolder.description)) %> <% if link %>
<%= link.path %>
<% else %>