added note detail view

This commit is contained in:
Felix Ivo
2025-06-16 15:11:33 +02:00
parent a4d6aeea18
commit b06536baf6
4 changed files with 70 additions and 1 deletions

View File

@@ -28,4 +28,12 @@ class NotesController
]);
}
public function showNoteDetails()
{
$noteId = $_GET['id'];
$note = $this->notesModel->getNoteById($noteId);
$this->view->setVars([
"note" => $note
]);
}
}