diff --git a/backend/app/views/spree/admin/store_credits/index.html.erb b/backend/app/views/spree/admin/store_credits/index.html.erb index 480731f858f..ff90985947f 100644 --- a/backend/app/views/spree/admin/store_credits/index.html.erb +++ b/backend/app/views/spree/admin/store_credits/index.html.erb @@ -56,7 +56,7 @@ <%= t store_credit.invalidated? ? 'spree.say_yes' : 'spree.say_no' %> - <% if can?(:show, store_credit) %> + <% if can?(:edit, store_credit) %> <%= link_to_edit_url admin_user_store_credit_path(@user, store_credit), { no_text: true, class: 'edit' } %> <% end %>