add create plan route
This commit is contained in:
parent
0e57b90509
commit
814e5e11d2
1 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ use DI\Bridge\Slim\Bridge;
|
|||
use App\View\ViewController;
|
||||
use App\Text\TextController;
|
||||
use App\Node\NodeController;
|
||||
use App\Plan\PlanController;
|
||||
|
||||
$container = require __DIR__ . '/container.php';
|
||||
$app = Bridge::create($container);
|
||||
|
|
@ -26,4 +27,6 @@ $app->get('/api/nodes/{textId}', [NodeController::class, 'getNodesOfText']);
|
|||
$app->post('/api/nodes/bulk', [NodeController::class, 'bulkCreateNodes']);
|
||||
$app->post('/api/nodes', [NodeController::class, 'createNode']);
|
||||
|
||||
$app->post('/api/plans', [PlanController::class, 'createPlan']);
|
||||
|
||||
return $app;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue