mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-02-12 13:58:41 +00:00
Routings moved to routing files
This commit is contained in:
parent
ef3284f41e
commit
1b1f8132e3
3
Admin/Routes/console.php
Normal file
3
Admin/Routes/console.php
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$consoleRoutes = [];
|
||||||
28
Admin/Routes/http.php
Normal file
28
Admin/Routes/http.php
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$httpRoutes = [
|
||||||
|
'^.*/backend/projectmanagement/list.*$' => [
|
||||||
|
[
|
||||||
|
'dest' => '\Modules\ProjectManagement\Controller:viewProjectManagementList',
|
||||||
|
'verb' => RouteVerb::GET,
|
||||||
|
'result' => ViewType::HTML,
|
||||||
|
'layout' => ViewLayout::MAIN,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'^.*/backend/projectmanagement/create.*$' => [
|
||||||
|
[
|
||||||
|
'dest' => '\Modules\ProjectManagement\Controller:viewProjectManagementCreate',
|
||||||
|
'verb' => RouteVerb::GET,
|
||||||
|
'result' => ViewType::HTML,
|
||||||
|
'layout' => ViewLayout::MAIN,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'^.*/backend/projectmanagement/profile.*$' => [
|
||||||
|
[
|
||||||
|
'dest' => '\Modules\ProjectManagement\Controller:viewProjectManagementProfile',
|
||||||
|
'verb' => RouteVerb::GET,
|
||||||
|
'result' => ViewType::HTML,
|
||||||
|
'layout' => ViewLayout::MAIN,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
];
|
||||||
3
Admin/Routes/socket.php
Normal file
3
Admin/Routes/socket.php
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$socketRoutes = [];
|
||||||
|
|
@ -91,18 +91,6 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
protected static $dependencies = [
|
protected static $dependencies = [
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
|
||||||
* Routing elements.
|
|
||||||
*
|
|
||||||
* @var array
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
protected static $routes = [
|
|
||||||
'^.*/backend/projectmanagement/list.*$' => [['dest' => '\Modules\ProjectManagement\Controller:viewProjectManagementList', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
'^.*/backend/projectmanagement/create.*$' => [['dest' => '\Modules\ProjectManagement\Controller:viewProjectManagementCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
'^.*/backend/projectmanagement/profile.*$' => [['dest' => '\Modules\ProjectManagement\Controller:viewProjectManagementProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param RequestAbstract $request Request
|
* @param RequestAbstract $request Request
|
||||||
* @param ResponseAbstract $response Response
|
* @param ResponseAbstract $response Response
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user