From e3b7e050a0c2a8fb39d9b057b802b7001d9333ba Mon Sep 17 00:00:00 2001 From: Frank West Date: Fri, 29 Jun 2018 06:46:30 -0700 Subject: [PATCH] Remove spree product navigation override This was here to override the original spree products navigation link, but since moving back to the index action this had the side effect of adding an additional navigation item instead. We can simply remove this override to get rid of the additional menu item. --- .../_product_sub_menu/add_products_tab.html.haml.deface | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 app/overrides/spree/admin/shared/_product_sub_menu/add_products_tab.html.haml.deface diff --git a/app/overrides/spree/admin/shared/_product_sub_menu/add_products_tab.html.haml.deface b/app/overrides/spree/admin/shared/_product_sub_menu/add_products_tab.html.haml.deface deleted file mode 100644 index 074a76f3ed..0000000000 --- a/app/overrides/spree/admin/shared/_product_sub_menu/add_products_tab.html.haml.deface +++ /dev/null @@ -1,4 +0,0 @@ -/ insert_bottom "[data-hook='admin_product_sub_tabs']" - -- if spree_current_user.admin? - = tab :spree_products, url: admin_products_path, :match_path => '/products' \ No newline at end of file