openstreetmap-website

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

Ruby

The Rails application that powers OpenStreetMap

MessageController#new

Allow the user to write a new message to another user. This action also
deals with the sending of that message to the other user when the user
clicks send.
The display_name param is the display name of the user that the message is being sent to.

Source | Google | Stack overflow

Edit

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

cd openstreetmap-website

open app/controllers/message_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MessageController-new-for-pr


# Commit to git

git add app/controllers/message_controller.rbgit commit -m "better docs for MessageController#new"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-MessageController-new-for-pr

hub pull-request


# Celebrate!