Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 5951 Rev 6036
Línea 3566... Línea 3566...
3566
                        'may_terminate' => true,
3566
                        'may_terminate' => true,
3567
                        'child_routes' => [
3567
                        'child_routes' => [
3568
                            'add' => [
3568
                            'add' => [
3569
                                'type' => Segment::class,
3569
                                'type' => Segment::class,
3570
                                'options' => [
3570
                                'options' => [
3571
                                    'route' => '/add/:survey_id',
3571
                                    'route' => '/add',
3572
                                    'constraints' => [
-
 
3573
                                        'survey_id' => '[A-Za-z0-9\-]+\=*'
-
 
3574
                                    ],
-
 
3575
                                    'defaults' => [
3572
                                    'defaults' => [
3576
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
3573
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
3577
                                        'action' => 'add',
3574
                                        'action' => 'add',
3578
                                        'survey_id' => '',
-
 
3579
                                    ],
3575
                                    ],
3580
                                ],
3576
                                ],
3581
                            ],
3577
                            ],
3582
                            'edit' => [
-
 
3583
                                'type' => Segment::class,
-
 
3584
                                'options' => [
-
 
3585
                                    'route' => '/edit/:id',
-
 
3586
                                    'constraints' => [
-
 
3587
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
3588
                                    ],
-
 
3589
                                    'defaults' => [
-
 
3590
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
-
 
3591
                                        'action' => 'edit'
-
 
3592
                                    ]
-
 
3593
                                ]
-
 
3594
                            ],
-
 
3595
                            'delete' => [
3578
                            'delete' => [
3596
                                'type' => Segment::class,
3579
                                'type' => Segment::class,
3597
                                'options' => [
3580
                                'options' => [
3598
                                    'route' => '/delete/:id',
3581
                                    'route' => '/delete/:id',
3599
                                    'constraints' => [
3582
                                    'constraints' => [