VENOM-10: Moved to new Module Structure
Fixed File-Endings Added Entity-System
This commit is contained in:
parent
32a78ed1b9
commit
eb6770204a
101 changed files with 1272 additions and 892 deletions
18
base/router.base.php
Normal file → Executable file
18
base/router.base.php
Normal file → Executable file
|
|
@ -11,19 +11,5 @@ if (!isset($venom)) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
$router = new Router('defaultRouter', 1.0, 'api/');
|
||||
$router->addRoutes([
|
||||
'/test' => [
|
||||
'cl' => Route::class,
|
||||
'roles' => ['ROLE_GUEST'],
|
||||
'routes' => [
|
||||
'*' => [
|
||||
"GET" => 'getAll'
|
||||
],
|
||||
'1' => [
|
||||
"GET" => 'getAll'
|
||||
]
|
||||
]
|
||||
],
|
||||
]);
|
||||
$venom->addRouter('defaultRouter', $router);
|
||||
$router = new Router(Router::DEFAULT_ROUTER, 1.0, 'api/');
|
||||
$venom->addRouter($router);
|
||||
Loading…
Add table
Add a link
Reference in a new issue