Unverified Commit aef2a795 authored by Sebastian Castro's avatar Sebastian Castro
Browse files

Add comment

parent d703efa7
......@@ -9,7 +9,7 @@
* @license MIT License
* @Last Modified time: 2018-07-08 12:11:20
*/
namespace Biopen\GeoDirectoryBundle\Controller;
use Biopen\CoreBundle\Controller\GoGoController;
......@@ -19,7 +19,9 @@ class DirectoryController extends GoGoController
{
public function renderAction(Request $request)
{
// If Url is like annuaire/#fiche/element/50 with a jsonld header, return the element json instead
$gogoConfig = $this->get('biopen.gogocartojs_service')->getConfig();
return $this->render('BiopenGeoDirectoryBundle:directory:directory.html.twig', array('gogoConfig' => $gogoConfig));
}
}
}
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