public function symfony2bundlesAction() { $text = file_get_contents(__DIR__ . '/../Resources/doc/symfony2bundles.markdown'); return $this->render('KnpBundlesBundle:Main:symfony2bundles.html.twig', array('text' => $text)); }