Properly set up the post model and views