chore: complete update
This commit is contained in:
@@ -4,13 +4,15 @@ namespace App\Application\EPK;
|
||||
|
||||
use App\Framework\Attributes\Route;
|
||||
use App\Framework\Router\ActionResult;
|
||||
use App\Framework\Router\GenericActionResult;
|
||||
use App\Framework\Router\Result\ViewResult;
|
||||
use App\Framework\Router\ResultType;
|
||||
|
||||
class ShowEpk
|
||||
{
|
||||
#[Route(path: '/epk')]
|
||||
#[Route(path: '/epk', name: 'epk')]
|
||||
public function epk(): ActionResult
|
||||
{
|
||||
return new ActionResult(ResultType::Html, 'epk', ['text' => 'EPK!']);
|
||||
return new ViewResult('epk', new MetaData('title'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user