getting views set up for update
add update and edit actions for posts & edit view
add before_actions, define requre_ownership
removed ifs that were rendered obsolete by before_action
move current_post method to PostsController
eliminate before_action. instead filter posts through user
delete current_user method
getting views set up for update
add update and edit actions for posts & edit view
Fix syntax error in regions show
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