Fix the errors while testing router, and create new method login() on Home controller

This commit is contained in:
2017-08-31 10:39:31 +07:00
parent 6666d674a6
commit f56503a4d4
2 changed files with 20 additions and 9 deletions

View File

@@ -8,4 +8,10 @@ class Home
echo "This is index of home"; // Nanti di replace sama twig view ke App\Views\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
return true;
}
}