public function newAction()
    {
        $entity = new Media();
        $form = $this->createCreateForm($entity);

        return $this->render('MMMediaBundle:Media:new.html.twig', array(
            'entity' => $entity,
            'form' => $form->createView(),
        ));
    }