From 6aa51c0d3591ceee0f7d95f9a82aad07f0589650 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 15 Dec 2016 19:06:01 +0200 Subject: [PATCH] sitemap controller fix noindex --- console/controllers/SiteMapController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/controllers/SiteMapController.php b/console/controllers/SiteMapController.php index cba7d3f..ae4f9d2 100644 --- a/console/controllers/SiteMapController.php +++ b/console/controllers/SiteMapController.php @@ -185,7 +185,7 @@ class SiteMapController extends Controller } } foreach ($this->getBrands($category) as $brand) { - $url = Url::to(['catalog/brand', 'brand' => $brand]); + $url = Url::to(['catalog/brand', 'brand' => $brand->alias]); $this->createRow($url, 0.8, $content); } } -- libgit2 0.21.4