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