Devise\Pages\PageManager::cacheDeviseRoutes PHP Method

cacheDeviseRoutes() protected method

Cache the devise routes, and make sure to catch an exception. Exception thrown is likely due to serialization error caused by caching routes with closures in them
protected cacheDeviseRoutes ( ) : [type]
return [type]
    protected function cacheDeviseRoutes()
    {
        try {
            $this->RoutesGenerator->cacheRoutes();
        } catch (\Exception $e) {
            $this->message = $e->getMessage();
        }
    }