openfoodnetwork
https://github.com/openfoodfoundation/openfoodnetwork
Ruby
Connect suppliers, distributors and consumers to trade local produce.
DfcProvider::EnterpriseGroups::AffiliatedByController#ofn_id_from_uri
No Docs, write some!
Edit
git clone [email protected]:openfoodfoundation/openfoodnetwork.git
cd openfoodnetwork
open engines/dfc_provider/app/controllers/dfc_provider/enterprise_groups/affiliated_by_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-DfcProvider--EnterpriseGroups--AffiliatedByController-ofn_id_from_uri-for-pr
# Commit to gitgit add engines/dfc_provider/app/controllers/dfc_provider/enterprise_groups/affiliated_by_controller.rbgit commit -m "better docs for DfcProvider::EnterpriseGroups::AffiliatedByController#ofn_id_from_uri"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-DfcProvider--EnterpriseGroups--AffiliatedByController-ofn_id_from_uri-for-pr
hub pull-request
# Celebrate!