Routes files

This commit is contained in:
Dennis Eichhorn 2016-04-02 16:24:59 +02:00
parent b756593a85
commit d70e399a2a
3 changed files with 3 additions and 7 deletions

View File

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

View File

@ -1,6 +1,6 @@
<?php <?php
$httpRoutes = [ return [
'^.*/backend/draw/create.*$' => [ '^.*/backend/draw/create.*$' => [
[ [
'dest' => '\Modules\Draw\Controller:setUpDrawEditor', 'dest' => '\Modules\Draw\Controller:setUpDrawEditor',
@ -11,16 +11,12 @@ $httpRoutes = [
[ [
'dest' => '\Modules\Draw\Controller:viewDrawCreate', 'dest' => '\Modules\Draw\Controller:viewDrawCreate',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,
'result' => ViewType::HTML,
'layout' => ViewLayout::MAIN,
], ],
], ],
'^.*/backend/draw/list.*$' => [ '^.*/backend/draw/list.*$' => [
[ [
'dest' => '\Modules\Draw\Controller:viewDrawList', 'dest' => '\Modules\Draw\Controller:viewDrawList',
'verb' => RouteVerb::GET, 'verb' => RouteVerb::GET,
'result' => ViewType::HTML,
'layout' => ViewLayout::MAIN,
], ],
], ],
]; ];

View File

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