dev.to

https://github.com/thepracticaldev/dev.to

Ruby

Where programmers share ideas and help each other grow

Internal::CommentPolicy#comment_admin?

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:thepracticaldev/dev.to.git

cd dev.to

open app/policies/internal/comment_policy.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Internal--CommentPolicy-comment_admin--for-pr


# Commit to git

git add app/policies/internal/comment_policy.rbgit commit -m "better docs for Internal::CommentPolicy#comment_admin?"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Internal--CommentPolicy-comment_admin--for-pr

hub pull-request


# Celebrate!