Update posts_controller.rb

test