Update posts_helper.rb