Private
Public Access
1
0

create first working communication

This commit is contained in:
2016-10-25 11:19:50 +02:00
parent 23f034bc1c
commit 5b4fdd088c
27 changed files with 1037 additions and 2546 deletions

View File

@@ -6,8 +6,20 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class GameController extends Controller
{
public function indexAction()
{
return $this->render('MineSeekerBundle:Game:index.html.twig');
}
public function playAction()
{
return $this->render('MineSeekerBundle:Game:play.html.twig');
return $this->render('MineSeekerBundle:Game:play.html.twig', array(
'env' => $this->container->getParameter('kernel.environment')
));
}
public function listAction()
{
return $this->render('MineSeekerBundle:Game:list.html.twig');
}
}