app/views/spree/admin/promotions/index.html.erb in spree_promo-1.0.7 vs app/views/spree/admin/promotions/index.html.erb in spree_promo-1.1.0.rc1
- old
+ new
@@ -20,10 +20,10 @@
<th style="width:150px;"><%= t(:action) %></th>
</tr>
</thead>
<tbody>
<% @promotions.each do |promotion| %>
- <tr id="<%= dom_id promotion %>">
+ <tr id="<%= spree_dom_id promotion %>">
<td><%= promotion.name %></td>
<td><%= promotion.code %></td>
<td><%= promotion.description %></td>
<td><%= promotion.usage_limit %></td>
<td><%= promotion.expires_at.to_date.to_s(:short_date) if promotion.expires_at %></td>