let users flag posts as spam
change <%= to <% for if statement
Make post actually save to database after marked spam
extract Post.spam method
fixed resource routing for spam
Add unflag spam button for admins
eliminate double 'update' method
Extract spam methods, use clearer methods in views
correct admin validations for spamscontroller
make Post.spam return all spam posts instead of just one
move spam! and not_spam! methods to post model
improve method names, order spam results
Change .order_by to .order