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