added voter for customer, project and activity #34 (#39)

This commit is contained in:
Kevin Papst
2018-01-06 19:45:49 +01:00
committed by GitHub
parent 7658a2742b
commit 6931302c28
9 changed files with 414 additions and 20 deletions

View File

@@ -59,6 +59,7 @@ class ProjectController extends AbstractController
/**
* @Route("/{id}/edit", name="admin_project_edit")
* @Method({"GET", "POST"})
* @Security("is_granted('edit', project)")
*/
public function editAction(Project $project, Request $request)
{