Routes files

This commit is contained in:
Dennis Eichhorn 2016-04-02 16:24:59 +02:00
parent 73607dd70f
commit 8a5c3a3f69
3 changed files with 3 additions and 21 deletions

View File

@ -1,3 +1,3 @@
<?php <?php
$consoleRoutes = []; $moduleRoutes = [];

View File

@ -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,
], ],
], ],
]; ];

View File

@ -1,3 +1,3 @@
<?php <?php
$socketRoutes = []; $moduleRoutes = [];