mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
admin sections for person bundle
This commit is contained in:
@@ -12,6 +12,7 @@ declare(strict_types=1);
|
||||
namespace Chill\PersonBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
/**
|
||||
* Class AdminController.
|
||||
@@ -25,4 +26,36 @@ class AdminController extends AbstractController
|
||||
{
|
||||
return $this->redirectToRoute('chill_main_admin_central');
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/{_locale}/admin/accompanying-course", name="chill_accompanying-course_admin_index")
|
||||
*/
|
||||
public function indexAccompanyingCourseAdminAction()
|
||||
{
|
||||
return $this->render('ChillPersonBundle:Admin:indexAccompanyingCourse.html.twig');
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/{_locale}/admin/household", name="chill_household_admin_index")
|
||||
*/
|
||||
public function indexHouseholdAdminAction()
|
||||
{
|
||||
return $this->render('ChillPersonBundle:Admin:indexHousehold.html.twig');
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/{_locale}/admin/person", name="chill_person_admin_index")
|
||||
*/
|
||||
public function indexPersonAdminAction()
|
||||
{
|
||||
return $this->render('ChillPersonBundle:Admin:indexPerson.html.twig');
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/{_locale}/admin/social-work", name="chill_social-work_admin_index")
|
||||
*/
|
||||
public function indexSocialWorkAdminAction()
|
||||
{
|
||||
return $this->render('ChillPersonBundle:Admin:indexSocialWork.html.twig');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user