This commit is contained in:
silas
2018-07-14 18:09:00 +02:00
parent 31691c465b
commit 013783322f
106 changed files with 3429 additions and 432 deletions

66
src/module/Application/config/routes/routes.sync.php Normal file → Executable file
View File

@@ -16,17 +16,17 @@ return array(
'route' => '/wordRotator',
],
'child_routes' => [
// 'words' => [
// 'type' => Segment::class,
// 'options' => [
// 'route' => '/words',
// 'defaults' => [
// 'controller' => SyncController::class,
// 'action' => 'getWords',
// 'resource' => 'default',
// ]
// ],
// ],
'words' => [
'type' => Segment::class,
'options' => [
'route' => '/words',
'defaults' => [
'controller' => SyncController::class,
'action' => 'getWords',
'resource' => 'default',
]
],
],
'levels' => [
'type' => Segment::class,
'options' => [
@@ -38,28 +38,28 @@ return array(
]
],
],
// 'getAuthToken' => [
// 'type' => Segment::class,
// 'options' => [
// 'route' => '/token',
// 'defaults' => [
// 'controller' => SyncController::class,
// 'action' => 'getAuthToken',
// 'resource' => 'default',
// ]
// ],
// ],
// 'rate' => [
// 'type' => Segment::class,
// 'options' => [
// 'route' => '/rate',
// 'defaults' => [
// 'controller' => SyncController::class,
// 'action' => 'rate',
// 'resource' => 'default',
// ]
// ],
// ],
'getAuthToken' => [
'type' => Segment::class,
'options' => [
'route' => '/token',
'defaults' => [
'controller' => SyncController::class,
'action' => 'getAuthToken',
'resource' => 'default',
]
],
],
'rate' => [
'type' => Segment::class,
'options' => [
'route' => '/rate',
'defaults' => [
'controller' => SyncController::class,
'action' => 'rate',
'resource' => 'default',
]
],
],
],
],
],