Commit 6aa51c0d3591ceee0f7d95f9a82aad07f0589650
1 parent
3f16b059
sitemap controller fix noindex
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
console/controllers/SiteMapController.php
... | ... | @@ -185,7 +185,7 @@ class SiteMapController extends Controller |
185 | 185 | } |
186 | 186 | } |
187 | 187 | foreach ($this->getBrands($category) as $brand) { |
188 | - $url = Url::to(['catalog/brand', 'brand' => $brand]); | |
188 | + $url = Url::to(['catalog/brand', 'brand' => $brand->alias]); | |
189 | 189 | $this->createRow($url, 0.8, $content); |
190 | 190 | } |
191 | 191 | } | ... | ... |