Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Remove "Adding new links to the Admin Panel menu" since it doesn't work

Damian Kaczmarczyk8362d3f89ce0
diff --git a/guides/src/content/developer/3_customization/view.md b/guides/src/content/developer/3_customization/view.md
index f0ee60a132..7b1e4d26f2 100644
--- a/guides/src/content/developer/3_customization/view.md
+++ b/guides/src/content/developer/3_customization/view.md
@@ -81,18 +81,6 @@ Spree.config do |config|
end
```
-### Adding new links to the Admin Panel menu
-
-You can easily add new links to the admin menu by adding this code to `config/initializers/spree.rb`:
-
-```ruby
-Spree::BackendConfiguration::ORDER_TABS << :my_custom_orders
-```
-
-This will add a link to `spree.admin_my_custom_orders_path` route under the `Orders` tab.
-
-You can add links to `ORDER_TABS`, `PRODUCT_TABS`, `REPORT_TABS`, `CONFIGURATION_TABS`, `PROMOTION_TABS`, `USER_TABS`.
-
### Import admin views into your application
To get all of the Admin Panel views please type: