/**
  * @Route("/bike", name="bikehomepage")
  */
 public function bikeIndexAction(Request $request)
 {
     echo 'from controller ' . \rmc\CoreBundle\Lib\MyVertical::getVertical() . "<br />";
     echo 'from controller ' . \rmc\CoreBundle\Lib\MyVertical::getVertical() . "<br />";
     echo 'from controller ' . \rmc\CoreBundle\Lib\MyVertical::getVertical() . "<br />";
     // replace this example code with whatever you need
     return $this->render('default/index.html.twig', array('base_dir' => realpath($this->getParameter('kernel.root_dir') . '/..')));
 }
Ejemplo n.º 2
0
 public static function getDemo()
 {
     echo 'FROM TMP ' . MyVertical::getVertical();
 }