Configure html files with twig

This commit is contained in:
2017-09-04 15:05:54 +07:00
parent e7b5eec29d
commit 424737117a
7 changed files with 101 additions and 96 deletions

View File

@@ -7,14 +7,14 @@ class Home
{
public function index()
{
echo "This is index of home"; // Nanti di replace sama twig view ke App\Views\Data\pengumuman.html
// echo "This is index of home"; // Nanti di replace sama twig view ke App\Views\Data\pengumuman.html
View::render('Data/pengumuman.html');
return true;
}
public function login()
{
echo "You have to login"; // Nanti di replace sama twig view ke App\Views\Access\login.html
// echo "You have to login"; // Nanti di replace sama twig view ke App\Views\Access\login.html
View::render('Access/login.html');
return true;
}