Update PostsController.php
Merge pull request #1 from mro95/patch-1

Update PostsController.php