Skip to content

Commit

Permalink
Single home page
Browse files Browse the repository at this point in the history
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
  • Loading branch information
alexmerlin committed Oct 3, 2024
1 parent 566ecc8 commit b6fb146
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 122 deletions.
120 changes: 0 additions & 120 deletions src/App/templates/app/home-page.html.twig

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions src/Page/src/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ public function __construct(
public function indexAction(): ResponseInterface
{
return new HtmlResponse(
$this->template->render('page::home')
$this->template->render('app::home')
);
}

public function homeAction(): ResponseInterface
{
return new HtmlResponse(
$this->template->render('page::home', ['routeName' => 'home'])
$this->template->render('app::home', ['routeName' => 'home'])
);
}

Expand Down

0 comments on commit b6fb146

Please sign in to comment.