Moved to PostsController.