update to pc
This commit is contained in:
69
src/module/Application/config/routes/routes.sync.php
Normal file
69
src/module/Application/config/routes/routes.sync.php
Normal file
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
|
||||
namespace Application;
|
||||
|
||||
use Application\Controller\SyncController;
|
||||
use Zend\Router\Http\Segment;
|
||||
|
||||
return array(
|
||||
'router' => [
|
||||
'routes' => [
|
||||
'data' => [
|
||||
'child_routes' => [
|
||||
'wordRotator' => [
|
||||
'type' => Segment::class,
|
||||
'options' => [
|
||||
'route' => '/wordRotator',
|
||||
],
|
||||
'child_routes' => [
|
||||
// 'words' => [
|
||||
// 'type' => Segment::class,
|
||||
// 'options' => [
|
||||
// 'route' => '/words',
|
||||
// 'defaults' => [
|
||||
// 'controller' => SyncController::class,
|
||||
// 'action' => 'getWords',
|
||||
// 'resource' => 'default',
|
||||
// ]
|
||||
// ],
|
||||
// ],
|
||||
'levels' => [
|
||||
'type' => Segment::class,
|
||||
'options' => [
|
||||
'route' => '/levels',
|
||||
'defaults' => [
|
||||
'controller' => SyncController::class,
|
||||
'action' => 'getLevels',
|
||||
'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',
|
||||
// ]
|
||||
// ],
|
||||
// ],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
],
|
||||
);
|
||||
Reference in New Issue
Block a user