Added resources:posts to routing file.