adds all post resources actions to the PostController