resource PostController