Added basic design
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
@@ -11,4 +11,25 @@ class DefaultController extends Controller
|
||||
{
|
||||
return $this->render('GergelyPolonkaiFrontBundle:Default:index.html.twig', array());
|
||||
}
|
||||
|
||||
public function disclaimerAction()
|
||||
{
|
||||
return $this->render('GergelyPolonkaiFrontBundle:Default:disclaimer.html.twig', array());
|
||||
}
|
||||
|
||||
public function resumeAction($_format)
|
||||
{
|
||||
if ($_format == 'pdf')
|
||||
{
|
||||
return $this->get('io_tcpdf')->quick_pdf($this->renderView('GergelyPolonkaiFrontBundle:Default:resume.html.twig', array(
|
||||
'format' => $_format,
|
||||
)));
|
||||
}
|
||||
else
|
||||
{
|
||||
return $this->render('GergelyPolonkaiFrontBundle:Default:resume.html.twig', array(
|
||||
'format' => $_format,
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user