added note detail view

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

No files matched your search

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