Update posts_controller.rb
Merge pull request #29 from gadtfly/patch-2

Update posts_controller.rb