Update post_controller.rb