octobox

https://github.com/octobox/octobox

Ruby

📮Untangle your GitHub Notifications

NotificationsController#mark_read

Mark a notification as read

:category: Notifications Actions

==== Example

<code>POST notifications/:id/mark_read.json</code>
  HEAD 204

Source | Google | Stack overflow

Edit

git clone [email protected]:octobox/octobox.git

cd octobox

open app/controllers/notifications_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-NotificationsController-mark_read-for-pr


# Commit to git

git add app/controllers/notifications_controller.rbgit commit -m "better docs for NotificationsController#mark_read"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-NotificationsController-mark_read-for-pr

hub pull-request


# Celebrate!