Fix registerAssetRoutes method