bug(rails): fix incompatibility with Rails 5
This commit is contained in:
@@ -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> </th>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user