Added mising line in posts_controller.rb