Commit cac3c090 authored by Mat's avatar Mat
Browse files

$session est potentiellement disponible sur toutes les pages

parent 97042ce4
......@@ -35,6 +35,9 @@ class ImageController extends MasterController
return $this->redirectToRoute('techno_gallery_read');
$session = $this->get('session');
return $this->render('@Techno/Image/create.html.twig', array(
'formImage' => $form->createView()
......@@ -111,7 +111,7 @@ class OwnerController extends MasterController
// charge un service session
$session = $this->get('session');
$session->set('test', 'oups');
//$session->set('test', 'oups');
return $this->render('@Techno/Ajax/Owner/mainDisplay.html.twig', array(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment