Play around with the rendering
This commit is contained in:
14
app/View/RouteView.php
Normal file
14
app/View/RouteView.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\View;
|
||||
|
||||
use Ardent\Undercurrent\Http\RouterConfig;
|
||||
use Ardent\Undercurrent\View\BaseView;
|
||||
|
||||
class RouteView extends BaseView
|
||||
{
|
||||
public function __construct(protected readonly RouterConfig $routes)
|
||||
{
|
||||
parent::__construct('/routes.php', extends: '/base');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user