Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 280 Rev 281
Línea 1672... Línea 1672...
1672
                        'may_terminate' => true,
1672
                        'may_terminate' => true,
1673
                        'child_routes' => [
1673
                        'child_routes' => [
1674
                            'take-a-test' => [
1674
                            'take-a-test' => [
1675
                                'type' => Literal::class,
1675
                                'type' => Literal::class,
1676
                                'options' => [
1676
                                'options' => [
1677
                                    'route' => '/take-a-test',
1677
                                    'route' => '/take-a-test/:id',
-
 
1678
                                    'constraints' => [
-
 
1679
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
1680
                                    ],
1678
                                    'defaults' => [
1681
                                    'defaults' => [
1679
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
1682
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
1680
                                        'action' => 'index'
1683
                                        'action' => 'takeaTest'
1681
                                    ]
1684
                                    ]
1682
                                ]
1685
                                ]
1683
                            ],
1686
                            ],
1684
                            'reports' => [
1687
                            'reports' => [
1685
                                'type' => Literal::class,
1688
                                'type' => Literal::class,
1686
                                'options' => [
1689
                                'options' => [
1687
                                    'route' => '/reports',
1690
                                    'route' => '/reports/:id',
-
 
1691
                                    'constraints' => [
-
 
1692
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
1693
                                    ],
1688
                                    'defaults' => [
1694
                                    'defaults' => [
1689
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
1695
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
1690
                                        'action' => 'index'
1696
                                        'action' => 'report'
1691
                                    ]
1697
                                    ]
1692
                                ]
1698
                                ]
1693
                            ],
1699
                            ],
Línea 1694... Línea 1700...
1694
                            
1700