solidus

https://github.com/solidusio/solidus

Ruby

🛒 Solidus, the open-source eCommerce framework for industry trailblazers.

Spree::Admin::NavigationHelper#tab

Make an admin tab that coveres one or more resources supplied by symbols
Option hash may follow. Valid options are
  * :label to override link text, otherwise based on the first resource name (translated)
  * :route to override automatically determining the default route
  * :match_path as an alternative way to control when the tab is active, /products would match /admin/products, /admin/products/5/variants etc.

Source | Google | Stack overflow

Edit

git clone [email protected]:solidusio/solidus.git

cd solidus

open backend/app/helpers/spree/admin/navigation_helper.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--Admin--NavigationHelper-tab-for-pr


# Commit to git

git add backend/app/helpers/spree/admin/navigation_helper.rbgit commit -m "better docs for Spree::Admin::NavigationHelper#tab"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Spree--Admin--NavigationHelper-tab-for-pr

hub pull-request


# Celebrate!