From c75a864ff2e5cb371fb76c6ab4af3bd946cfa013 Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Wed, 12 Aug 2020 12:21:07 -0700 Subject: [PATCH] link to the enterprise's shop instead of a full map --- .../spree/admin/overview/single_enterprise_dashboard.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml b/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml index caa8e925c4..116fe2a550 100644 --- a/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml +++ b/app/views/spree/admin/overview/single_enterprise_dashboard.html.haml @@ -42,8 +42,7 @@ %p = t "on_ofn_map" .list - /-# Can we pass an anchor here to zoom to our enterprise? - %a.button.bottom{href: main_app.map_path, target: '_blank'} + %a.button.bottom{href: main_app.enterprise_shop_url(@enterprise), target: '_blank'} = t "see" = @enterprise.name = t "live"