Refactor out TrainingPathsController.