added timesheet voter #44 (#46)

This commit is contained in:
Kevin Papst
2018-01-07 16:20:29 +01:00
committed by GitHub
parent f8b390cbe2
commit 67fd7b970a
9 changed files with 194 additions and 33 deletions

View File

@@ -66,6 +66,7 @@ class TimesheetController extends AbstractController
*
* @Route("/{id}/stop", name="admin_timesheet_stop")
* @Method({"GET"})
* @Security("is_granted('stop', entry)")
*
* @param Timesheet $entry
* @return \Symfony\Component\HttpFoundation\RedirectResponse|\Symfony\Component\HttpFoundation\Response