Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 13344 Rev 13354
Línea 5240... Línea 5240...
5240
                            ],
5240
                            ],
5241
                        ],
5241
                        ],
5242
                    ],
5242
                    ],
5243
                ]
5243
                ]
5244
            ],
5244
            ],
-
 
5245
 
-
 
5246
            'development-and-content' => [
-
 
5247
                'type' => Literal::class,
-
 
5248
                'options' => [
-
 
5249
                    'route' => '/development-and-content',
-
 
5250
                    'defaults' => [
-
 
5251
                        'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5252
                        'action' => 'index'
-
 
5253
                    ]
-
 
5254
                ],
-
 
5255
                'may_terminate' => true,
-
 
5256
                'child_routes' => [
-
 
5257
                    'add' => [
-
 
5258
                        'type' => Segment::class,
-
 
5259
                        'options' => [
-
 
5260
                            'route' => '/add[/:id]',
-
 
5261
                            'constraints' => [
-
 
5262
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
5263
                            ],
-
 
5264
                            'defaults' => [
-
 
5265
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5266
                                'action' => 'add'
-
 
5267
                            ]
-
 
5268
                        ]
-
 
5269
                    ],
-
 
5270
                    'edit' => [
-
 
5271
                        'type' => Segment::class,
-
 
5272
                        'options' => [
-
 
5273
                            'route' => '/edit',
-
 
5274
                           
-
 
5275
                            'defaults' => [
-
 
5276
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5277
                                'action' => 'edit'
-
 
5278
                            ]
-
 
5279
                        ]
-
 
5280
                    ],
-
 
5281
                    'delete' => [
-
 
5282
                        'type' => Segment::class,
-
 
5283
                        'options' => [
-
 
5284
                            'route' => '/delete',
-
 
5285
                            'defaults' => [
-
 
5286
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5287
                                'action' => 'delete'
-
 
5288
                            ]
-
 
5289
                        ]
-
 
5290
                    ],
-
 
5291
                    'feed' => [
-
 
5292
                        'type' => Segment::class,
-
 
5293
                        'options' => [
-
 
5294
                            'route' => '/feed',
-
 
5295
                            'defaults' => [
-
 
5296
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5297
                                'action' => 'feed'
-
 
5298
                            ],
-
 
5299
                        ],
-
 
5300
                    ],
-
 
5301
                    'timeline' => [
-
 
5302
                        'type' => Segment::class,
-
 
5303
                        'options' => [
-
 
5304
                            'route' => '/timeline',                                           
-
 
5305
                            'defaults' => [
-
 
5306
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5307
                                'action' => 'timeline'
-
 
5308
                            ],
-
 
5309
                        ],
-
 
5310
                    ],
-
 
5311
                    'comments' => [
-
 
5312
                        'type' => Segment::class,
-
 
5313
                        'options' => [
-
 
5314
                            'route' => '/comments',
-
 
5315
                            
-
 
5316
                            'defaults' => [
-
 
5317
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5318
                                'action' => 'comment'
-
 
5319
                            ],
-
 
5320
                        ],
-
 
5321
                        'may_terminate' => true,
-
 
5322
                        'child_routes' => [
-
 
5323
                            'delete' => [
-
 
5324
                                'type' => Segment::class,
-
 
5325
                                'options' => [
-
 
5326
                                    'route' => '/delete/:comment',
-
 
5327
                                    'constraints' => [
-
 
5328
                                        'comment' => '[A-Za-z0-9\-]+\=*',
-
 
5329
                                    ],
-
 
5330
                                    'defaults' => [
-
 
5331
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5332
                                        'action' => 'commentDelete'
-
 
5333
                                    ]
-
 
5334
                                ]
-
 
5335
                            ],
-
 
5336
                            'answer' => [
-
 
5337
                                'type' => Segment::class,
-
 
5338
                                'options' => [
-
 
5339
                                    'route' => '/answer/:comment',
-
 
5340
                                    'constraints' => [
-
 
5341
                                        'comment' => '[A-Za-z0-9\-]+\=*',
-
 
5342
                                    ],
-
 
5343
                                    'defaults' => [
-
 
5344
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5345
                                        'action' => 'answer'
-
 
5346
                                    ]
-
 
5347
                                ]
-
 
5348
                            ],
-
 
5349
                        ]
-
 
5350
                    ],
-
 
5351
                    'category' => [
-
 
5352
                        'type' => Literal::class,
-
 
5353
                        'options' => [
-
 
5354
                            'route' => '/category',
-
 
5355
                            'defaults' => [
-
 
5356
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5357
                                'action' => 'index'
-
 
5358
                            ]
-
 
5359
                        ],
-
 
5360
                        'may_terminate' => true,
-
 
5361
                        'child_routes' => [
-
 
5362
                            'add' => [
-
 
5363
                                'type' => Literal::class,
-
 
5364
                                'options' => [
-
 
5365
                                    'route' => '/add',
-
 
5366
                                    'defaults' => [
-
 
5367
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5368
                                        'action' => 'add'
-
 
5369
                                    ]
-
 
5370
                                ]
-
 
5371
                            ],
-
 
5372
                            'edit' => [
-
 
5373
                                'type' => Segment::class,
-
 
5374
                                'options' => [
-
 
5375
                                    'route' => '/edit/:id',
-
 
5376
                                    'constraints' => [
-
 
5377
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5378
                                    ],
-
 
5379
                                    'defaults' => [
-
 
5380
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5381
                                        'action' => 'edit'
-
 
5382
                                    ]
-
 
5383
                                ]
-
 
5384
                            ],
-
 
5385
                            'delete' => [
-
 
5386
                                'type' => Segment::class,
-
 
5387
                                'options' => [
-
 
5388
                                    'route' => '/delete/:id',
-
 
5389
                                    'constraints' => [
-
 
5390
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5391
                                    ],
-
 
5392
                                    'defaults' => [
-
 
5393
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5394
                                        'action' => 'delete'
-
 
5395
                                    ]
-
 
5396
                                ]
-
 
5397
                            ]
-
 
5398
                        ]
-
 
5399
                    ],
-
 
5400
                    'waiting' => [
-
 
5401
                        'type' => segment::class,
-
 
5402
                        'options' => [
-
 
5403
                            'route' => '/waiting',
-
 
5404
                            'defaults' => [
-
 
5405
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5406
                                'action' => 'index'
-
 
5407
                            ]
-
 
5408
                        ],
-
 
5409
                        'may_terminate' => true,
-
 
5410
                        'child_routes' => [
-
 
5411
                            'add' => [
-
 
5412
                                'type' => Literal::class,
-
 
5413
                                'options' => [
-
 
5414
                                    'route' => '/add',
-
 
5415
                                    'defaults' => [
-
 
5416
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5417
                                        'action' => 'add'
-
 
5418
                                    ]
-
 
5419
                                ]
-
 
5420
                            ],
-
 
5421
                            'edit' => [
-
 
5422
                                'type' => Segment::class,
-
 
5423
                                'options' => [
-
 
5424
                                    'route' => '/edit/:id',
-
 
5425
                                    'constraints' => [
-
 
5426
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5427
                                    ],
-
 
5428
                                    'defaults' => [
-
 
5429
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5430
                                        'action' => 'edit'
-
 
5431
                                    ]
-
 
5432
                                ]
-
 
5433
                            ],
-
 
5434
                            'delete' => [
-
 
5435
                                'type' => Segment::class,
-
 
5436
                                'options' => [
-
 
5437
                                    'route' => '/delete/:id',
-
 
5438
                                    'constraints' => [
-
 
5439
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5440
                                    ],
-
 
5441
                                    'defaults' => [
-
 
5442
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5443
                                        'action' => 'delete'
-
 
5444
                                    ]
-
 
5445
                                ]
-
 
5446
                            ],
-
 
5447
                            'view' => [
-
 
5448
                                'type' => Segment::class,
-
 
5449
                                'options' => [
-
 
5450
                                    'route' => '/:id/view',
-
 
5451
                                    'constraints' => [
-
 
5452
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5453
                                    ],
-
 
5454
                                    'defaults' => [
-
 
5455
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5456
                                        'action' => 'index'
-
 
5457
                                    ]
-
 
5458
                                ]
-
 
5459
                            ],
-
 
5460
                        ],
-
 
5461
                    ],
-
 
5462
                ]
-
 
5463
            ],
Línea 5245... Línea 5464...
5245
            
5464
            
5246
        ]
5465
        ]
5247
    ],
5466
    ],
5248
    'controllers' => [
5467
    'controllers' => [