Created an initial, viewable version of the site
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
@@ -8,8 +8,13 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
class DefaultController extends Controller
|
||||
{
|
||||
|
||||
public function indexAction($name)
|
||||
public function indexAction()
|
||||
{
|
||||
return $this->render('OpenScrumInfoBundle:Default:index.html.twig', array('name' => $name));
|
||||
return $this->render('OpenScrumInfoBundle:' . $this->get('session')->getLocale() . ':index.html.twig', array());
|
||||
}
|
||||
|
||||
public function infopageAction($page)
|
||||
{
|
||||
return $this->render('OpenScrumInfoBundle:' . $this->get('session')->getLocale() . ':' . $page . '.html.twig', array());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user