Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10423 Rev 10602
Línea 4508... Línea 4508...
4508
                    'answer' => [
4508
                    'answer' => [
4509
                        'type' => Literal::class,
4509
                        'type' => Literal::class,
4510
                        'options' => [
4510
                        'options' => [
4511
                            'route' => '/answer',
4511
                            'route' => '/answer',
4512
                            'defaults' => [
4512
                            'defaults' => [
4513
                                'controller' => '\LeadersLinked\Controller\UnknownController',
4513
                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4514
                                'action' => 'index'
4514
                                'action' => 'index'
4515
                            ]
4515
                            ]
4516
                        ],
4516
                        ],
4517
                        'may_terminate' => true,
4517
                        'may_terminate' => true,
4518
                        'child_routes' => [
4518
                        'child_routes' => [
4519
                            'add' => [
4519
                            'add' => [
4520
                                'type' => Literal::class,
4520
                                'type' => Literal::class,
4521
                                'options' => [
4521
                                'options' => [
4522
                                    'route' => '/add',
4522
                                    'route' => '/add',
4523
                                    'defaults' => [
4523
                                    'defaults' => [
4524
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4524
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4525
                                        'action' => 'add'
4525
                                        'action' => 'add'
4526
                                    ]
4526
                                    ]
4527
                                ]
4527
                                ]
4528
                            ],
4528
                            ],
4529
                            'edit' => [
4529
                            'edit' => [
Línea 4532... Línea 4532...
4532
                                    'route' => '/edit/:id',
4532
                                    'route' => '/edit/:id',
4533
                                    'constraints' => [
4533
                                    'constraints' => [
4534
                                        'id' => '[A-Za-z0-9\-]+\=*'
4534
                                        'id' => '[A-Za-z0-9\-]+\=*'
4535
                                    ],
4535
                                    ],
4536
                                    'defaults' => [
4536
                                    'defaults' => [
4537
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4537
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4538
                                        'action' => 'edit'
4538
                                        'action' => 'edit'
4539
                                    ]
4539
                                    ]
4540
                                ]
4540
                                ]
4541
                            ],
4541
                            ],
4542
                            'delete' => [
4542
                            'delete' => [
Línea 4545... Línea 4545...
4545
                                    'route' => '/delete/:id',
4545
                                    'route' => '/delete/:id',
4546
                                    'constraints' => [
4546
                                    'constraints' => [
4547
                                        'id' => '[A-Za-z0-9\-]+\=*'
4547
                                        'id' => '[A-Za-z0-9\-]+\=*'
4548
                                    ],
4548
                                    ],
4549
                                    'defaults' => [
4549
                                    'defaults' => [
4550
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4550
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
4551
                                        'action' => 'delete'
4551
                                        'action' => 'delete'
4552
                                    ]
4552
                                    ]
4553
                                ]
4553
                                ]
4554
                            ]
4554
                            ]
4555
                        ]
4555
                        ]