denyAccessUnlessGranted('@system.show_logs'); $table = $dataTable->createFromType(LogDataTable::class) ->handleRequest($request); if ($table->isCallback()) { return $table->getResponse(); } return $this->render('LogSystem/log_list.html.twig', [ 'datatable' => $table, ]); } }