|
@@ -13,17 +13,6 @@ class LeafletController extends Controller
|
|
|
|
|
|
public function createVectorAction(Request $request)
|
|
|
{
|
|
|
- // $request->get();
|
|
|
- // $em = $this->get('doctrine')->getManager();
|
|
|
-
|
|
|
- // print_r("<pre>");
|
|
|
- // print_r("Hola mundo !!!");
|
|
|
- // print_r("</pre>");
|
|
|
-
|
|
|
- // $params = array(
|
|
|
- // 'base_tamplate' => $this->get('sonata.admin.pool')->getTemplate('layout'),
|
|
|
- // 'admin_pool' => $this->get('sonata.admin.pool')
|
|
|
- // );
|
|
|
|
|
|
$adminPool = $this->get('sonata.admin.pool');
|
|
|
|
|
@@ -33,14 +22,6 @@ class LeafletController extends Controller
|
|
|
'admin' => $adminPool->getAdminByClass("MapBundle\Entity\Map")
|
|
|
));
|
|
|
|
|
|
- // return $this->render($template, array(
|
|
|
- // 'wizards' => $wizards,
|
|
|
- // 'base_template' => $this->getBaseTemplate(),
|
|
|
- // 'admin_pool' => $adminPool = $this->get('sonata.admin.pool'),,
|
|
|
- // 'blocks' => $this->container->getParameter('sonata.admin.configuration.dashboard_blocks'),
|
|
|
- // 'name' => $name,
|
|
|
- // 'url_web' => $url_web
|
|
|
- // ));
|
|
|
|
|
|
}
|
|
|
}
|