FIX: adjusts in any locations
This commit is contained in:
parent
c690c65924
commit
b526f8700a
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Controllers;
|
namespace App\api;
|
||||||
|
|
||||||
use Models\ReportsModel;
|
use Models\ReportsModel;
|
||||||
use Nyholm\Psr7\Response;
|
use Nyholm\Psr7\Response;
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
namespace Routes;
|
namespace Routes;
|
||||||
|
|
||||||
use App\Controllers\ReportController;
|
use App\api\ReportController;
|
||||||
|
|
||||||
$router->setRoute('GET', '/api/v1/reports', [ReportController::class, 'show']);
|
$router->setRoute('GET', '/api/v1/reports', [ReportController::class, 'show']);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue