mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Compare commits
2 Commits
f1bddb626d
...
523d196d12
Author | SHA1 | Date | |
---|---|---|---|
|
523d196d12 | ||
|
f064330acd |
@ -133,6 +133,6 @@ class GoogleSitemapController extends Controller
|
|||||||
|
|
||||||
public function AbsoluteLink($action = null)
|
public function AbsoluteLink($action = null)
|
||||||
{
|
{
|
||||||
return Controller::join_links(Director::absoluteBaseURL(), 'sitemap.xml', $action);
|
return rtrim(Controller::join_links(Director::absoluteBaseURL(), 'sitemap.xml', $action), '/');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user