/** * @Route("/update/{id}", name="orocrm_partner_github_issue_update", requirements={"id"="\d+"}) * @Template * @Acl( * id="orocrm_partner_github_issue_update", * type="entity", * class="OroCRMPartnerBundle:GitHubIssue", * permission="EDIT", * group_name="" * ) */ public function updateAction(GitHubIssue $entity, Request $request) { $formAction = $this->get('router')->generate('orocrm_partner_github_issue_update', ['id' => $entity->getId()]); return $this->update($entity, $formAction, $request); }