[TWIG][Note] Add single note view

This commit is contained in:
2021-12-01 21:04:51 +00:00
parent 6f543ccc06
commit 5d8bd6c74a
2 changed files with 23 additions and 1 deletions

View File

@@ -49,6 +49,6 @@ class Note extends Controller
*/
public function NoteShow(Request $request, int $id)
{
return $this->note($id, fn ($note) => ['_template' => '/cards/note/view.html.twig', 'note' => $note]);
return $this->note($id, fn ($note) => ['_template' => '/note/view.html.twig', 'note' => $note]);
}
}