Sistema web para crear proyecto web nuevo
This commit is contained in:
24
resources/routes/web/project.php
Normal file
24
resources/routes/web/project.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
use ProVM\Projects\Common\Controller\Web\Project;
|
||||
|
||||
$app->group('/project/{project}', function($app) {
|
||||
$app->group('/views', function($app) {
|
||||
$app->group('/add', function($app) {
|
||||
$app->get('[/]', [Project::class, 'addView']);
|
||||
$app->post('[/]', [Project::class, 'doAddView']);
|
||||
});
|
||||
});
|
||||
$app->group('/controllers', function($app) {
|
||||
$app->group('/add', function($app) {
|
||||
$app->get('[/]', [Project::class, 'addController']);
|
||||
$app->post('[/]', [Project::class, 'doAddController']);
|
||||
});
|
||||
});
|
||||
$app->group('/routes', function($app) {
|
||||
$app->group('/add', function($app) {
|
||||
$app->get('[/]', [Project::class, 'addRoute']);
|
||||
$app->post('[/]', [Project::class, 'doAddRoute']);
|
||||
});
|
||||
});
|
||||
$app->get('[/]', Project::class);
|
||||
});
|
Reference in New Issue
Block a user