Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11837 Rev 11840
Línea 4718... Línea 4718...
4718
                                    'defaults' => [
4718
                                    'defaults' => [
4719
                                        'controller' => '\LeadersLinked\Controller\MyTrainerQuestionController',
4719
                                        'controller' => '\LeadersLinked\Controller\MyTrainerQuestionController',
4720
                                        'action' => 'view'
4720
                                        'action' => 'view'
4721
                                    ]
4721
                                    ]
4722
                                ]
4722
                                ]
4723
                            ]
-
 
4724
                        ]
-
 
4725
                    ],
-
 
4726
                    'answer' => [
-
 
4727
                        'type' => Segment::class,
-
 
4728
                        'options' => [
-
 
4729
                            'route' => ':id/answer',
-
 
4730
                            'constraints' => [
-
 
4731
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
4732
                            ],
-
 
4733
                            'defaults' => [
-
 
4734
                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
-
 
4735
                                'action' => 'index'
-
 
4736
                            ]
-
 
4737
                        ],
-
 
4738
                        'may_terminate' => true,
-
 
4739
                        'child_routes' => [
-
 
4740
                            'add' => [
-
 
4741
                                'type' => Segment::class,
-
 
4742
                                'options' => [
-
 
4743
                                    'route' => '/add[/:id]',
-
 
4744
                                    'constraints' => [
-
 
4745
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4746
                                    ],
-
 
4747
                                    'defaults' => [
-
 
4748
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
-
 
4749
                                        'action' => 'add'
-
 
4750
                                    ]
-
 
4751
                                ]
-
 
4752
                            ],
4723
                            ],
4753
                            'edit' => [
4724
                            'answer' => [
4754
                                'type' => Segment::class,
4725
                                'type' => Segment::class,
4755
                                'options' => [
4726
                                'options' => [
4756
                                    'route' => '/edit/:id',
4727
                                    'route' => ':id/answer',
4757
                                    'constraints' => [
4728
                                    'constraints' => [
4758
                                        'id' => '[A-Za-z0-9\-]+\=*'
4729
                                        'id' => '[A-Za-z0-9\-]+\=*'
4759
                                    ],
4730
                                    ],
4760
                                    'defaults' => [
4731
                                    'defaults' => [
4761
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4732
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4762
                                        'action' => 'edit'
4733
                                        'action' => 'index'
4763
                                    ]
4734
                                    ]
4764
                                ]
-
 
4765
                            ],
-
 
4766
                            'delete' => [
-
 
4767
                                'type' => Segment::class,
-
 
4768
                                'options' => [
-
 
4769
                                    'route' => '/delete/:id',
-
 
4770
                                    'constraints' => [
-
 
4771
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4772
                                    ],
-
 
4773
                                    'defaults' => [
-
 
4774
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
-
 
4775
                                        'action' => 'delete'
-
 
4776
                                    ]
-
 
4777
                                ]
-
 
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\MyTrainerAnswerController',
-
 
4788
                                        'action' => 'comment'
-
 
4789
                                    ],
-
 
4790
                                ],
4735
                                ],
4791
                                'may_terminate' => true,
4736
                                'may_terminate' => true,
4792
                                'child_routes' => [
4737
                                'child_routes' => [
-
 
4738
                                    'add' => [
-
 
4739
                                        'type' => Segment::class,
-
 
4740
                                        'options' => [
-
 
4741
                                            'route' => '/add[/:id]',
-
 
4742
                                            'constraints' => [
-
 
4743
                                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
4744
                                            ],
-
 
4745
                                            'defaults' => [
-
 
4746
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
-
 
4747
                                                'action' => 'add'
-
 
4748
                                            ]
-
 
4749
                                        ]
-
 
4750
                                    ],
-
 
4751
                                    'edit' => [
-
 
4752
                                        'type' => Segment::class,
-
 
4753
                                        'options' => [
-
 
4754
                                            'route' => '/edit/:id',
-
 
4755
                                            'constraints' => [
-
 
4756
                                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
4757
                                            ],
-
 
4758
                                            'defaults' => [
-
 
4759
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
-
 
4760
                                                'action' => 'edit'
-
 
4761
                                            ]
-
 
4762
                                        ]
-
 
4763
                                    ],
4793
                                    'delete' => [
4764
                                    'delete' => [
4794
                                        'type' => Segment::class,
4765
                                        'type' => Segment::class,
4795
                                        'options' => [
4766
                                        'options' => [
4796
                                            'route' => '/delete/:comment',
4767
                                            'route' => '/delete/:id',
4797
                                            'constraints' => [
4768
                                            'constraints' => [
4798
                                                'comment' => '[A-Za-z0-9\-]+\=*',
4769
                                                'id' => '[A-Za-z0-9\-]+\=*'
4799
                                            ],
4770
                                            ],
4800
                                            'defaults' => [
4771
                                            'defaults' => [
4801
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4772
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4802
                                                'action' => 'commentDelete'
4773
                                                'action' => 'delete'
4803
                                            ]
4774
                                            ]
4804
                                        ]
4775
                                        ]
4805
                                    ],
4776
                                    ],
-
 
4777
                                    'comments' => [
-
 
4778
                                        'type' => Segment::class,
-
 
4779
                                        'options' => [
-
 
4780
                                            'route' => '/comments/:id',
-
 
4781
                                            'constraints' => [
-
 
4782
                                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
4783
                                            ],
-
 
4784
                                            'defaults' => [
-
 
4785
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
-
 
4786
                                                'action' => 'comment'
-
 
4787
                                            ],
-
 
4788
                                        ],
-
 
4789
                                        'may_terminate' => true,
-
 
4790
                                        'child_routes' => [
-
 
4791
                                            'delete' => [
-
 
4792
                                                'type' => Segment::class,
-
 
4793
                                                'options' => [
-
 
4794
                                                    'route' => '/delete/:comment',
-
 
4795
                                                    'constraints' => [
-
 
4796
                                                        'comment' => '[A-Za-z0-9\-]+\=*',
-
 
4797
                                                    ],
-
 
4798
                                                    'defaults' => [
-
 
4799
                                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
-
 
4800
                                                        'action' => 'commentDelete'
-
 
4801
                                                    ]
-
 
4802
                                                ]
-
 
4803
                                            ],
-
 
4804
                                        ]
-
 
4805
                                    ],
4806
                                ]
4806
                                ],
4807
                            ],
4807
                            ],
4808
                        ]
4808
                        ],
4809
                    ],
4809
                    ],
4810
                ]
4810
                ]
4811
            ],
4811
            ],
Línea 4812... Línea 4812...
4812
            
4812