Symfony update 4.1.4 (#290)
This commit is contained in:
@@ -14,15 +14,14 @@ use App\Calendar\TimesheetEntity;
|
||||
use App\Entity\Timesheet;
|
||||
use App\Repository\Query\TimesheetQuery;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
/**
|
||||
* Controller used to display calendars.
|
||||
*
|
||||
* @Route("/calendar")
|
||||
* @Route(path="/calendar")
|
||||
* @Security("is_granted('ROLE_USER')")
|
||||
*/
|
||||
class CalendarController extends AbstractController
|
||||
@@ -41,8 +40,7 @@ class CalendarController extends AbstractController
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/", name="calendar")
|
||||
* @Method("GET")
|
||||
* @Route(path="/", name="calendar", methods={"GET"})
|
||||
* @Cache(smaxage="10")
|
||||
*/
|
||||
public function userCalendar()
|
||||
@@ -54,8 +52,7 @@ class CalendarController extends AbstractController
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/user", name="calendar_entries")
|
||||
* @Method("GET")
|
||||
* @Route(path="/user", name="calendar_entries", methods={"GET"})
|
||||
* @Cache(smaxage="10")
|
||||
*/
|
||||
public function calendarEntries(Request $request)
|
||||
|
||||
Reference in New Issue
Block a user