Create Controllers Home and Posts

This commit is contained in:
2017-08-31 09:57:27 +07:00
parent ffea1b6b6c
commit 9a94e5b250
2 changed files with 34 additions and 0 deletions

11
App/Controllers/Home.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
namespace App\Controllers;
class Home
{
public function index()
{
echo "This is index of home"; // Nanti di replace sama twig view ke App\Views\Data\pengumuman.html
return true;
}
}