foreach (Tournament::all() as $tournament) {
$url = new SitemapUrl();
- $url->path = '/tournaments'.$tournament->id;
+ $url->path = '/tournaments/'.$tournament->id;
$url->lastmod = $tournament->updated_at ? $tournament->updated_at : ($tournament->created_at ? $tournament->created_at : now());
$url->changefreq = $tournament->locked ? 'never' : 'daily';
$url->priority = $tournament->locked ? 0.5 : 1.0;