mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-07-31 05:50:46 +00:00
Modifications aand started working on adminBundle
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace AdminPanel\Modules\ModuleName\Controller;
|
||||
namespace ModuleName\Controller;
|
||||
|
||||
use AdminPanel\Classes\Controller;
|
||||
|
||||
|
@ -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]+/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user