public function indexAction(Request $request, User $user, Calendar $calendar)
{
if (!$this->get('security.context')->isGranted('dav.read', $calendar)) {
throw new HttpException(401, 'Unauthorized access.');
}
return $this->render('BaikalAdminBundle:Calendar:instructions.html.twig', array('user' => $user, 'calendar' => $calendar));
}