Move post related actions to PostController.