Modifications aand started working on adminBundle

This commit is contained in:
2019-03-20 00:00:53 +01:00
parent 73a8455cba
commit fafe29f42d
12 changed files with 79 additions and 23 deletions

View File

@ -1,6 +1,6 @@
<?php
namespace AdminPanel\Modules\ModuleName\Controller;
namespace ModuleName\Controller;
use AdminPanel\Classes\Controller;

View File

@ -1,9 +1,14 @@
{
"routes": {
"route_name": {
"path": "/example",
"path": "/example/test-{arg}",
"controller": "\\AdminPanel\\Modules\\ModuleName\\Controller\\ExampleController",
"function": "example"
"function": "example",
"args": {
"arg": {
"regex": "/[a-z]+/"
}
}
}
}
}