Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11898 | Rev 11908 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11898 Rev 11902
Línea 4289... Línea 4289...
4289
                                        'action' => 'index'
4289
                                        'action' => 'index'
4290
                                    ]
4290
                                    ]
4291
                                ],
4291
                                ],
4292
                                    'may_terminate' => true,
4292
                                    'may_terminate' => true,
4293
                                    'child_routes' => [
4293
                                    'child_routes' => [
-
 
4294
                                        'feeds' => [
-
 
4295
                                            'type' => Literal::class,
-
 
4296
                                            'options' => [
-
 
4297
                                                'route' => '/feeds',
-
 
4298
                                                'defaults' => [
-
 
4299
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
-
 
4300
                                                    'action' => 'index'
-
 
4301
                                                ]
-
 
4302
                                            ],
-
 
4303
                                            'may_terminate' => true,
-
 
4304
                                            'child_routes' => [
-
 
4305
                                                'timeline' => [
-
 
4306
                                                    'type' => Segment::class,
-
 
4307
                                                    'options' => [
-
 
4308
                                                        'route' => '/timeline[/urgent/:urgent][/topic_id/:topic_id][/hptg_id/:hptg_id]',
-
 
4309
                                                        'constraints' => [
-
 
4310
                                                            'hptg_id'=>'[A-Za-z0-9\-]+\=*',
-
 
4311
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*',
-
 
4312
                                                            'urgent' => 'u',
-
 
4313
                                                        ],
-
 
4314
                                                        'defaults' => [
-
 
4315
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
-
 
4316
                                                            'action' => 'timeline'
-
 
4317
                                                        ]
-
 
4318
                                                    ]
-
 
4319
                                                ],
-
 
4320
                                                'onefeed' => [
-
 
4321
                                                    'type' => Segment::class,
-
 
4322
                                                    'options' => [
-
 
4323
                                                        'route' => '/onefeed[/:feed_id][/:topic_id][/:group_id]',
-
 
4324
                                                        'constraints' => [
-
 
4325
                                                            'group_id' => '[A-Za-z0-9\-]+\=*',
-
 
4326
                                                            'feed_id' => '[A-Za-z0-9\-]+\=*',
-
 
4327
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*',
-
 
4328
                                                        ],
-
 
4329
                                                        'defaults' => [
-
 
4330
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
-
 
4331
                                                            'action' => 'oneFeed'
-
 
4332
                                                        ]
-
 
4333
                                                    ]
-
 
4334
                                                ],
-
 
4335
                                                'delete' => [
-
 
4336
                                                    'type' => Segment::class,
-
 
4337
                                                    'options' => [
-
 
4338
                                                        'route' => '/delete/:id',
-
 
4339
                                                        'constraints' => [
-
 
4340
                                                            'id' => '[A-Za-z0-9\-]+\=*',
-
 
4341
                                                        ],
-
 
4342
                                                        'defaults' => [
-
 
4343
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
-
 
4344
                                                            'action' => 'delete'
-
 
4345
                                                        ],
-
 
4346
                                                    ]
-
 
4347
                                                ],
-
 
4348
                                                'comments' => [
-
 
4349
                                                    'type' => Segment::class,
-
 
4350
                                                    'options' => [
-
 
4351
                                                        'route' => '/comments/:id',
-
 
4352
                                                        'constraints' => [
-
 
4353
                                                            'id' => '[A-Za-z0-9\-]+\=*',
-
 
4354
                                                        ],
-
 
4355
                                                        'defaults' => [
-
 
4356
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
-
 
4357
                                                            'action' => 'comment'
-
 
4358
                                                        ],
-
 
4359
                                                    ],
-
 
4360
                                                    'may_terminate' => true,
-
 
4361
                                                    'child_routes' => [
-
 
4362
                                                        'delete' => [
-
 
4363
                                                            'type' => Segment::class,
-
 
4364
                                                            'options' => [
-
 
4365
                                                                'route' => '/delete/:comment',
-
 
4366
                                                                'constraints' => [
-
 
4367
                                                                    'comment' => '[A-Za-z0-9\-]+\=*',
-
 
4368
                                                                ],
-
 
4369
                                                                'defaults' => [
-
 
4370
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
-
 
4371
                                                                    'action' => 'commentDelete'
-
 
4372
                                                                ]
-
 
4373
                                                            ]
-
 
4374
                                                        ],
-
 
4375
                            
-
 
4376
                                                        'answer' => [
-
 
4377
                                                            'type' => Segment::class,
-
 
4378
                                                            'options' => [
-
 
4379
                                                                'route' => '/answer/:comment',
-
 
4380
                                                                'constraints' => [
-
 
4381
                                                                    'comment' => '[A-Za-z0-9\-]+\=*',
-
 
4382
                                                                ],
-
 
4383
                                                                'defaults' => [
-
 
4384
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
-
 
4385
                                                                    'action' => 'answer'
-
 
4386
                                                                ]
-
 
4387
                                                            ]
-
 
4388
                                                        ],
-
 
4389
                                                    ]
-
 
4390
                                                ],
-
 
4391
                                                'add' => [
-
 
4392
                                                    'type' => Segment::class,
-
 
4393
                                                    'options' => [
-
 
4394
                                                        'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding][/type/:type][/feed/:feed][/myt_id/:myt_id][/hptg_id/:hptg_id][/topic_id/:topic_id]',
-
 
4395
                                                        'constraints' => [
-
 
4396
                                                            'company_id' => '[A-Za-z0-9\-]+\=*',
-
 
4397
                                                            'group_id' => '[A-Za-z0-9\-]+\=*',
-
 
4398
                                                            'hptg_id' => '[A-Za-z0-9\-]+\=*',
-
 
4399
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*',
-
 
4400
                                                            'myt_id' => '[A-Za-z0-9\-]+\=*',
-
 
4401
                                                            'type' => 'group|company|hptg|mytq|myta',
-
 
4402
                                                            'encoding' => 'base64'
-
 
4403
                                                        ],
-
 
4404
                                                        'defaults' => [
-
 
4405
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
-
 
4406
                                                            'action' => 'add'
-
 
4407
                                                        ]
-
 
4408
                                                    ]
-
 
4409
                                                ],
-
 
4410
                                            ],
-
 
4411
                                        ],
4294
                                        'members' => [
4412
                                        'members' => [
4295
                                            'type' => Literal::class,
4413
                                            'type' => Literal::class,
4296
                                            'options' => [
4414
                                            'options' => [
4297
                                                'route' => '/members',
4415
                                                'route' => '/members',
4298
                                                'defaults' => [
4416
                                                'defaults' => [