Skip to content

Commit

Permalink
Fix sitemap.xml link url
Browse files Browse the repository at this point in the history
  • Loading branch information
herve_emagma committed Jun 15, 2017
1 parent 04d0c53 commit c329933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SitemapExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected function registerAssets()
->setCallback(function () {
$app = $this->getContainer();
$snippet = sprintf(
'<link rel="sitemap" type="application/xml" title="Sitemap" href="%ssitemap.xml">',
'<link rel="sitemap" type="application/xml" title="Sitemap" href="%s/sitemap.xml">',
$app['url_generator']->generate('homepage', [], UrlGeneratorInterface::ABSOLUTE_URL)
);

Expand Down

0 comments on commit c329933

Please sign in to comment.