First working version with non working routes
This commit is contained in:
14
app/Controller/BaseController.php
Normal file
14
app/Controller/BaseController.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Ardent\Undercurrent\Attribute\Route;
|
||||
|
||||
class BaseController
|
||||
{
|
||||
#[Route('/hello')]
|
||||
public function HelloWorld(): string
|
||||
{
|
||||
return 'Hello, World!';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user