classroom
https://github.com/education/classroom
Ruby
GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
InvitationsControllerMethods#organization
Prviate: Memoize the organization from the current_assignment. Returns an Organization.
Edit
git clone [email protected]:education/classroom.git
cd classroom
open app/controllers/invitations_controller_methods.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-InvitationsControllerMethods-organization-for-pr
# Commit to gitgit add app/controllers/invitations_controller_methods.rbgit commit -m "better docs for InvitationsControllerMethods#organization"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-InvitationsControllerMethods-organization-for-pr
hub pull-request
# Celebrate!