wikiedudashboard
https://github.com/wikieducationfoundation/wikiedudashboard
Ruby
Wiki Education Foundation's Wikipedia course dashboard system
SettingsController#attempt_admin_downgrade
attempt to upgrade `user` to instructor unless they already are one.
Edit
git clone [email protected]:wikieducationfoundation/wikiedudashboard.git
cd wikiedudashboard
open app/controllers/settings_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-SettingsController-attempt_admin_downgrade-for-pr
# Commit to gitgit add app/controllers/settings_controller.rbgit commit -m "better docs for SettingsController#attempt_admin_downgrade"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-SettingsController-attempt_admin_downgrade-for-pr
hub pull-request
# Celebrate!