garthgoldwater/GarthsList — pull request #17 by garthgoldwater (2014-07-25 19:21:45+00:00)
Title: Let admins delete or edit any post

Previously: admins could not delete or edit posts that they didn't own
Problem: admins should be able to do so (especially for spam or offensive posts)
Solution: if a user is an admin, delete or update posts using Post.find instead of current_user.posts