create first working communication
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user