Create Controllers Home and Posts
This commit is contained in:
11
App/Controllers/Home.php
Normal file
11
App/Controllers/Home.php
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user