Skip to content

Commit

Permalink
Added trailing slash to landing urls to avoid github pages redirectio…
Browse files Browse the repository at this point in the history
…ns (#969)
  • Loading branch information
norberttech authored Feb 5, 2024
1 parent 3e1e183 commit 036077b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/landing/src/Flow/Website/Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function __construct(
) {
}

#[Route('/{topic}/{example}', name: 'example')]
#[Route('/{topic}/{example}/', name: 'example')]
public function example(string $topic, string $example) : Response
{
$topics = $this->examples->topics();
Expand Down Expand Up @@ -54,7 +54,7 @@ public function main() : Response
]);
}

#[Route('/{topic}', name: 'topic')]
#[Route('/{topic}/', name: 'topic')]
public function topic(string $topic) : Response
{
$topics = $this->examples->topics();
Expand Down

0 comments on commit 036077b

Please sign in to comment.