Commit 51899561 authored by Fedrico Otaran's avatar Fedrico Otaran

refactor de vistas para usar render tambien

parent 1a107221
......@@ -4,6 +4,6 @@ class HomeView extends TwigView
{
public function show()
{
$this->display('home.html.twig');
echo $this->render('home.html.twig');
}
}
......@@ -4,6 +4,6 @@ class UserView extends TwigView
{
public function index($options)
{
$this->display('user/index.html.twig', $options);
return $this->display('user/index.html.twig', $options);
}
}
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