WIP: Implement admin CRUD
This commit is contained in:
@@ -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