Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11724 Rev 11810
Línea 4774... Línea 4774...
4774
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4774
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4775
                                        'action' => 'delete'
4775
                                        'action' => 'delete'
4776
                                    ]
4776
                                    ]
4777
                                ]
4777
                                ]
4778
                            ],
4778
                            ],
-
 
4779
                            'comments' => [
-
 
4780
                                'type' => Segment::class,
-
 
4781
                                'options' => [
-
 
4782
                                    'route' => '/comments/:id',
-
 
4783
                                    'constraints' => [
-
 
4784
                                        'id' => '[A-Za-z0-9\-]+\=*',
-
 
4785
                                    ],
-
 
4786
                                    'defaults' => [
-
 
4787
                                        'controller' => '\LeadersLinked\Controller\FeedController',
-
 
4788
                                        'action' => 'comment'
-
 
4789
                                    ],
-
 
4790
                                ],
-
 
4791
                                'may_terminate' => true,
-
 
4792
                                'child_routes' => [
-
 
4793
                                    'delete' => [
-
 
4794
                                        'type' => Segment::class,
-
 
4795
                                        'options' => [
-
 
4796
                                            'route' => '/delete/:comment',
-
 
4797
                                            'constraints' => [
-
 
4798
                                                'comment' => '[A-Za-z0-9\-]+\=*',
-
 
4799
                                            ],
-
 
4800
                                            'defaults' => [
-
 
4801
                                                'controller' => '\LeadersLinked\Controller\FeedController',
-
 
4802
                                                'action' => 'commentDelete'
-
 
4803
                                            ]
-
 
4804
                                        ]
-
 
4805
                                    ],
-
 
4806
        
-
 
4807
                                    'answer' => [
-
 
4808
                                        'type' => Segment::class,
-
 
4809
                                        'options' => [
-
 
4810
                                            'route' => '/answer/:comment',
-
 
4811
                                            'constraints' => [
-
 
4812
                                                'comment' => '[A-Za-z0-9\-]+\=*',
-
 
4813
                                            ],
-
 
4814
                                            'defaults' => [
-
 
4815
                                                'controller' => '\LeadersLinked\Controller\FeedController',
-
 
4816
                                                'action' => 'answer'
-
 
4817
                                            ]
-
 
4818
                                        ]
-
 
4819
                                    ],
-
 
4820
                                ]
-
 
4821
                            ],
4779
                        ]
4822
                        ]
4780
                    ],
4823
                    ],
4781
                ]
4824
                ]
4782
            ],
4825
            ],