app/views/spree/admin/users/_tabs.html.erb in solidus_backend-2.10.5 vs app/views/spree/admin/users/_tabs.html.erb in solidus_backend-2.11.0
- old
+ new
@@ -17,10 +17,10 @@
<% if can?(:items, @user) %>
<li<%== ' class="active"' if current == :items %>>
<%= link_to t("spree.admin.user.items"), spree.items_admin_user_path(@user) %>
</li>
<% end %>
- <% if can?(:display, @user.store_credits.new) %>
+ <% if can?(:show, @user.store_credits.new) %>
<li<%== ' class="active"' if current == :store_credits %>>
<%= link_to t("spree.admin.user.store_credit"), spree.admin_user_store_credits_path(@user) %>
</li>
<% end %>
</ul>