mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-01-29 16:18:39 +00:00
Routes files
This commit is contained in:
parent
73607dd70f
commit
8a5c3a3f69
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
$consoleRoutes = [];
|
||||
$moduleRoutes = [];
|
||||
|
|
@ -1,76 +1,58 @@
|
|||
<?php
|
||||
|
||||
$httpRoutes = [
|
||||
return [
|
||||
'^.*/backend/organization/unit/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewUnitList',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/organization/unit/profile.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewUnitProfile',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/organization/unit/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewUnitCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/organization/department/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewDepartmentList',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/organization/department/profile.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewDepartmentProfile',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/organization/department/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewDepartmentCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/organization/position/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewPositionList',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/organization/position/profile.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewPositionProfile',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/organization/position/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Organization\Controller:viewPositionCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
|
||||
$socketRoutes = [];
|
||||
$moduleRoutes = [];
|
||||
Loading…
Reference in New Issue
Block a user