openstreetmap-website

https://github.com/openstreetmap/openstreetmap-website

Ruby

The Rails application that powers OpenStreetMap

UserBlock#revoke!

revokes the block, allowing the user to use the API again. the argument
is the user object who is revoking the ban.

Source | Google | Stack overflow

Edit

git clone [email protected]:openstreetmap/openstreetmap-website.git

cd openstreetmap-website

open app/models/user_block.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-UserBlock-revoke--for-pr


# Commit to git

git add app/models/user_block.rbgit commit -m "better docs for UserBlock#revoke!"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-UserBlock-revoke--for-pr

hub pull-request


# Celebrate!