Add reverse sort for open notes and a couple cleanups
This commit is contained in:
		| @@ -26,9 +26,11 @@ class DefaultController extends AbstractController | ||||
|     { | ||||
|         $this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY'); | ||||
|         $last4Notes = $emi->getRepository(Note::class)->getLast4Notes($user); | ||||
|         $openNotes = $emi->getRepository(Note::class)->reverseNoteSort($user); | ||||
|  | ||||
|         return $this->render('default/home.html.twig', [ | ||||
|             'last4Notes' => $last4Notes, | ||||
|             'reverseNoteSort' => $openNotes, | ||||
|             'isAdmin' => $this->isGranted('ROLE_ADMIN'), | ||||
|         ]); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user