protected function clearDeviseRoutes() { $routeCachePath = $this->Config->get('devise.routes.cache'); if ($this->File->exists($routeCachePath)) { $this->File->delete($routeCachePath); } }