diff --git a/app/views/spree/admin/images/index.html.erb b/app/views/spree/admin/images/index.html.erb index e98db044eb..4fdbadafe7 100644 --- a/app/views/spree/admin/images/index.html.erb +++ b/app/views/spree/admin/images/index.html.erb @@ -2,7 +2,7 @@ <% content_for :page_actions do %> <%= yield :page_actions %> - <%= product_preview_link(@product) %> + <%= external_page_preview_link(@product) %> <%= button_link_to(Spree.t(:new_image), spree.new_admin_product_image_url(@product), { class: "btn-success", icon: 'add.svg', id: 'new_image_link' }) if can? :create, Spree::Image %> <% end %> diff --git a/app/views/spree/admin/prices/index.html.erb b/app/views/spree/admin/prices/index.html.erb index 3e9c0491d2..6d21f35bea 100644 --- a/app/views/spree/admin/prices/index.html.erb +++ b/app/views/spree/admin/prices/index.html.erb @@ -2,7 +2,7 @@ <% content_for :page_actions do %> <%= yield :page_actions %> - <%= product_preview_link(@product) %> + <%= external_page_preview_link(@product) %> <% end %>