Add <?php to PostsController.php