bug(rails): fix incompatibility with Rails 5

This commit is contained in:
Joseph Mastey
2017-09-18 20:08:02 -05:00
parent 9fc05eacde
commit ca9ddb6a14
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<thead>
<tr>
<%
count = (params[:field] ? (params[:field].count+1) : 6)
count = (params[:field] ? (custom_fields.count+1) : 6)
count.times do %>
<th>&nbsp;</th>
<% end %>