WIP: Implement admin CRUD
This commit is contained in:
1 parent
3e0353c79b
commit
c55fd85314
63 files changed
+1367
-532
No files matched your search
@@ -13,6 +13,6 @@ class AvailabilitiesController extends AbstractController
|
||||
#[IsGranted('ROLE_TEAMER')]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('');
|
||||
return $this->render('teamer/profile/availabilities.html.twig');
|
||||
}
|
||||
}
|
||||
@@ -71,10 +71,10 @@ class IndexController extends AbstractController
|
||||
'user' => $user->getUserIdentifier(),
|
||||
]);
|
||||
|
||||
return $this->redirectToRoute('app_teamer_profile');
|
||||
return $this->redirectToRoute('app_teamer_profile_index');
|
||||
}
|
||||
|
||||
return $this->render('teamer/profile.html.twig', [
|
||||
return $this->render('teamer/profile/index.html.twig', [
|
||||
'form' => $form->createView(),
|
||||
'teamer' => $teamer,
|
||||
'errors' => $errors,
|
||||
|
||||
@@ -13,6 +13,6 @@ class SkillsController extends AbstractController
|
||||
#[IsGranted('ROLE_TEAMER')]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('');
|
||||
return $this->render('teamer/profile/skills.html.twig');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user