mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-11 02:18:42 +00:00
Routes files
This commit is contained in:
parent
0e6a0679c1
commit
bc9529eb3e
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$consoleRoutes = [];
|
$moduleRoutes = [];
|
||||||
|
|
@ -1,28 +1,22 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$httpRoutes = [
|
return [
|
||||||
'^.*/backend/hr/staff/list.*$' => [
|
'^.*/backend/hr/staff/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\HumanResourceManagement\Controller:viewHrList',
|
'dest' => '\Modules\HumanResourceManagement\Controller:viewHrList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/hr/staff/create.*$' => [
|
'^.*/backend/hr/staff/create.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\HumanResourceManagement\Controller:viewHrCreate',
|
'dest' => '\Modules\HumanResourceManagement\Controller:viewHrCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
'result' => ViewType::HTML,
|
|
||||||
'layout' => ViewLayout::MAIN,
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/hr/department/list.*$' => [
|
'^.*/backend/hr/department/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\HumanResourceManagement\Controller:viewHrDepartmentList',
|
'dest' => '\Modules\HumanResourceManagement\Controller:viewHrDepartmentList',
|
||||||
'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