Skip to content

Commit 07b924a

Browse files
committed
chore: add welcome controller
1 parent eeef0aa commit 07b924a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace app\controllers;
4+
5+
use app\core\Controller;
6+
7+
class WelcomeController extends Controller
8+
{
9+
public function index(): void
10+
{
11+
// Change this line to use 'welcome' layout instead of 'app'
12+
$this->view('welcome/index', [], ['layout' => 'welcome']);
13+
}
14+
}

0 commit comments

Comments
 (0)