Create empty function view() in PostsController.php