Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15028 Rev 15029
Línea 5526... Línea 5526...
5526
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5526
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5527
                                'action' => 'delete'
5527
                                'action' => 'delete'
5528
                            ]
5528
                            ]
5529
                        ]
5529
                        ]
5530
                    ],
5530
                    ],
5531
                    'feed' => [
5531
                    'category' => [
5532
                        'type' => Segment::class,
5532
                        'type' => Literal::class,
5533
                        'options' => [
5533
                        'options' => [
5534
                            'route' => '/feed',
5534
                            'route' => '/category',
5535
                            'defaults' => [
5535
                            'defaults' => [
5536
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5536
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
5537
                                'action' => 'feed'
5537
                                'action' => 'index'
5538
                            ],
-
 
5539
                        ],
-
 
5540
                    ],
-
 
5541
                    'timeline' => [
-
 
5542
                        'type' => Segment::class,
-
 
5543
                        'options' => [
-
 
5544
                            'route' => '/timeline',                                           
-
 
5545
                            'defaults' => [
-
 
5546
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5547
                                'action' => 'timeline'
-
 
5548
                            ],
-
 
5549
                        ],
-
 
5550
                    ],
-
 
5551
                    'comments' => [
-
 
5552
                        'type' => Segment::class,
-
 
5553
                        'options' => [
-
 
5554
                            'route' => '/comments',
-
 
5555
                            
-
 
5556
                            'defaults' => [
-
 
5557
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5558
                                'action' => 'comment'
-
 
5559
                            ],
5538
                            ]
5560
                        ],
5539
                        ],
5561
                        'may_terminate' => true,
5540
                        'may_terminate' => true,
5562
                        'child_routes' => [
5541
                        'child_routes' => [
-
 
5542
                            'add' => [
-
 
5543
                                'type' => Literal::class,
-
 
5544
                                'options' => [
-
 
5545
                                    'route' => '/add',
-
 
5546
                                    'defaults' => [
-
 
5547
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5548
                                        'action' => 'add'
-
 
5549
                                    ]
-
 
5550
                                ]
-
 
5551
                            ],
5563
                            'delete' => [
5552
                            'edit' => [
5564
                                'type' => Segment::class,
5553
                                'type' => Segment::class,
5565
                                'options' => [
5554
                                'options' => [
5566
                                    'route' => '/delete/:comment',
5555
                                    'route' => '/edit/:id',
5567
                                    'constraints' => [
5556
                                    'constraints' => [
5568
                                        'comment' => '[A-Za-z0-9\-]+\=*',
5557
                                        'id' => '[A-Za-z0-9\-]+\=*'
5569
                                    ],
5558
                                    ],
5570
                                    'defaults' => [
5559
                                    'defaults' => [
5571
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5560
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
5572
                                        'action' => 'commentDelete'
5561
                                        'action' => 'edit'
5573
                                    ]
5562
                                    ]
5574
                                ]
5563
                                ]
5575
                            ],
5564
                            ],
5576
                            'answer' => [
5565
                            'delete' => [
5577
                                'type' => Segment::class,
5566
                                'type' => Segment::class,
5578
                                'options' => [
5567
                                'options' => [
5579
                                    'route' => '/answer/:comment',
5568
                                    'route' => '/delete/:id',
5580
                                    'constraints' => [
5569
                                    'constraints' => [
5581
                                        'comment' => '[A-Za-z0-9\-]+\=*',
5570
                                        'id' => '[A-Za-z0-9\-]+\=*'
5582
                                    ],
5571
                                    ],
5583
                                    'defaults' => [
5572
                                    'defaults' => [
5584
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5573
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
5585
                                        'action' => 'answer'
5574
                                        'action' => 'delete'
5586
                                    ]
5575
                                    ]
5587
                                ]
5576
                                ]
5588
                            ],
5577
                            ]
5589
                        ]
5578
                        ]
5590
                    ],
5579
                    ]
5591
                ]
5580
                ]
5592
            ],
5581
            ],
Línea 5593... Línea 5582...
5593
            
5582
            
5594
        ]
5583
        ]