route the resources posts to the postscontroller