Update posts_controller.rb

lol would have been funny if i forgot to validate on update and people modified peoples posts with curls