solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Api::VariantsController#index
The lazyloaded associations here are pretty much attached to which nodes we render on the view so we better update it any time a node is included or removed from the views.
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open api/app/controllers/spree/api/variants_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--Api--VariantsController-index-for-pr
# Commit to gitgit add api/app/controllers/spree/api/variants_controller.rbgit commit -m "better docs for Spree::Api::VariantsController#index"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--Api--VariantsController-index-for-pr
hub pull-request
# Celebrate!