Added formatted cheat sheet html content for help

This commit is contained in:
2024-06-11 21:23:43 -04:00
parent da5e3b538d
commit fba8454743
3 changed files with 173 additions and 1 deletions

View File

@ -18,6 +18,9 @@ class DefaultController extends AbstractController
#[Route('/', name: 'app_index')]
public function index(): Response
{
if ($this->isGranted('IS_AUTHENTICATED_FULLY')) {
return $this->redirect('/index.php/home');
}
return $this->render('default/index.html.twig');
}
@ -35,6 +38,12 @@ class DefaultController extends AbstractController
]);
}
#[Route('/cheat-sheet', name: 'app_cheat_sheet')]
public function cheatSheet(): Response
{
return $this->render('default/cheat-sheet.html.twig');
}
#[Route('/reference-editor', name: 'app_reference_editor')]
public function referenceEditor(EntityManagerInterface $emi): Response
{