Skip to content

Commit 522384b

Browse files
committed
Use 1 canonical for installation
1 parent b67d548 commit 522384b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/DocsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function show($version, $page = null)
6666

6767
$canonical = null;
6868
if ($this->docs->sectionExists(DEFAULT_VERSION, $page ?: 'installation')) {
69-
$canonical = 'docs/'.DEFAULT_VERSION.'/'.$page;
69+
$canonical = 'docs/'.DEFAULT_VERSION.'/'.($page ?: 'installation');
7070
}
7171

7272
return view('docs', [

0 commit comments

Comments
 (0)