WIP: Adjust model, remove manager branch in navigation
This commit is contained in:
@@ -5,10 +5,12 @@ namespace App\Controller\Admin\Document;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
use Symfony\Component\Security\Http\Attribute\IsGranted;
|
||||
|
||||
class IndexController extends AbstractController
|
||||
{
|
||||
#[Route('/admin/document', name: 'app_admin_document_index')]
|
||||
#[IsGranted('ROLE_ADMINISTRATIVE')]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('admin/document/index.html.twig');
|
||||
|
||||
Reference in New Issue
Block a user