Skip to content

Commit

Permalink
user
Browse files Browse the repository at this point in the history
  • Loading branch information
zeopix committed Sep 13, 2011
1 parent 5923a12 commit a153908
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mii/GameBundle/Controller/PartidaController.php
Expand Up @@ -24,6 +24,7 @@ public function startLevelAction($level)

$em = $this->getDoctrine()->getEntityManager();

$user = $this->get('security.context')->getToken()->getUser();
$level = $em->getRepository('MiiGameBundle:Level')->find($level);

$partida = new Partida();
Expand Down

0 comments on commit a153908

Please sign in to comment.