/** * @Route("/insert", name="project_area_group_insert") */ public function insertAction(Request $request) { $item = new Group(); $item->setProject($this->getActiveProject()); $action = new InsertAction($this->crudInfo, $item, ProjectGroupForm::class, ['categoryRepository' => $this->getCategoryRepo()]); $action->slug($this->getSlug()); return $action->run($this, $request); }