Routings moved to routing files

This commit is contained in:
Dennis Eichhorn 2016-04-01 22:16:21 +02:00
parent 9eb385536b
commit d3aa265615
3 changed files with 18 additions and 0 deletions

3
Admin/Routes/console.php Normal file
View File

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

12
Admin/Routes/http.php Normal file
View File

@ -0,0 +1,12 @@
<?php
$httpRoutes = [
'^.*/backend/accounting/personal/entries.*$' => [
[
'dest' => '\Modules\Accounting\Controller:viewPersonalEntries',
'verb' => RouteVerb::GET,
'result' => ViewType::HTML,
'layout' => ViewLayout::MAIN,
],
],
];

3
Admin/Routes/socket.php Normal file
View File

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