mirror of
https://github.com/Karaka-Management/oms-EventManagement.git
synced 2026-01-11 16:48:42 +00:00
Routings moved to routing files
This commit is contained in:
parent
d71897a463
commit
f694e0ae93
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/eventmanagement/list.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\EventManagement\Controller:viewEventManagementList',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/eventmanagement/create.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\EventManagement\Controller:viewEventManagementCreate',
|
||||
'verb' => RouteVerb::GET,
|
||||
'result' => ViewType::HTML,
|
||||
'layout' => ViewLayout::MAIN,
|
||||
],
|
||||
],
|
||||
'^.*/backend/eventmanagement/profile.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\EventManagement\Controller:viewEventManagementProfile',
|
||||
'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 = [
|
||||
];
|
||||
|
||||
/**
|
||||
* Routing elements.
|
||||
*
|
||||
* @var array
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $routes = [
|
||||
'^.*/backend/eventmanagement/list.*$' => [['dest' => '\Modules\EventManagement\Controller:viewEventManagementList', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
||||
'^.*/backend/eventmanagement/create.*$' => [['dest' => '\Modules\EventManagement\Controller:viewEventManagementCreate', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
||||
'^.*/backend/eventmanagement/profile.*$' => [['dest' => '\Modules\EventManagement\Controller:viewEventManagementProfile', 'method' => 'GET', 'type' => ViewLayout::MAIN],],
|
||||
];
|
||||
|
||||
/**
|
||||
* @param RequestAbstract $request Request
|
||||
* @param ResponseAbstract $response Response
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user