mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-25 11:38:41 +00:00
Routes files
This commit is contained in:
parent
119cf9c79d
commit
52cae3f1e8
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
$consoleRoutes = [];
|
||||
$moduleRoutes = [];
|
||||
|
|
@ -1,76 +1,58 @@
|
|||
<?php
|
||||
|
||||
$httpRoutes = [
|
||||
return [
|
||||
'^.*/backend/admin/settings/general.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewSettingsGeneral',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/admin/account/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewAccountList',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/admin/account/settings.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewAccountSettings',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/admin/account/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewAccountCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/admin/group/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewGroupList',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/admin/group/settings.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewGroupSettings',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/admin/group/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewGroupCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/admin/module/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewModuleList',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/admin/module/settings.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Admin\Controller:viewModuleProfile',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
$socketRoutes = [];
|
||||
$moduleRoutes = [];
|
||||
Loading…
Reference in New Issue
Block a user