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