Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 579 Rev 580
Línea 1596... Línea 1596...
1596
                                'controller' => '\LeadersLinked\Controller\ProfileController',
1596
                                'controller' => '\LeadersLinked\Controller\ProfileController',
1597
                                'action' => 'peopleViewedProfile'
1597
                                'action' => 'peopleViewedProfile'
1598
                            ]
1598
                            ]
1599
                        ]
1599
                        ]
1600
                    ],
1600
                    ],
1601
                    'self-evaluation' => [
1601
                    'view' => [
1602
                        'type' => Literal::class,
1602
                        'type' => Segment::class,
1603
                        'options' => [
1603
                        'options' => [
1604
                            'route' => '/self-evaluation',
1604
                            'route' => '/view/:id',
-
 
1605
                            'constraints' => [
-
 
1606
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
1607
                            ],
1605
                            'defaults' => [
1608
                            'defaults' => [
1606
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
1609
                                'controller' => '\LeadersLinked\Controller\ProfileController',
1607
                                'action' => 'index'
1610
                                'action' => 'view'
1608
                            ]
1611
                            ]
1609
                        ],
-
 
1610
                        'may_terminate' => true,
-
 
1611
                        'child_routes' => [
-
 
1612
                            'take-a-test' => [
-
 
1613
                                'type' => Literal::class,
-
 
1614
                                'options' => [
-
 
1615
                                    'route' => '/take-a-test/:id',
-
 
1616
                                    'constraints' => [
-
 
1617
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
1618
                                    ],
-
 
1619
                                    'defaults' => [
-
 
1620
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
-
 
1621
                                        'action' => 'takeaTest'
-
 
1622
                                    ]
-
 
1623
                                ]
-
 
1624
                            ],
-
 
1625
                            'report' => [
-
 
1626
                                'type' => Literal::class,
-
 
1627
                                'options' => [
-
 
1628
                                    'route' => '/report/:id',
-
 
1629
                                    'constraints' => [
-
 
1630
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
1631
                                    ],
-
 
1632
                                    'defaults' => [
-
 
1633
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
-
 
1634
                                        'action' => 'report'
-
 
1635
                                    ]
-
 
1636
                                ]
-
 
1637
                            ],
-
 
1638
                        ]
1612
                        ]
1639
                    ],
1613
                    ],
1640
                    'performance-evaluation' => [
1614
                    'self-evaluation' => [
1641
                        'type' => Literal::class,
1615
                        'type' => Literal::class,
1642
                        'options' => [
1616
                        'options' => [
1643
                            'route' => '/performance-evaluation',
1617
                            'route' => '/self-evaluation',
1644
                            'defaults' => [
1618
                            'defaults' => [
1645
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
1619
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
1646
                                'action' => 'index'
1620
                                'action' => 'index'
1647
                            ]
1621
                            ]
1648
                        ],
1622
                        ],
1649
                        'may_terminate' => true,
1623
                        'may_terminate' => true,
1650
                        'child_routes' => [
1624
                        'child_routes' => [
1651
                            'take-a-test' => [
1625
                            'take-a-test' => [
1652
                                'type' => Literal::class,
1626
                                'type' => Segment::class,
1653
                                'options' => [
1627
                                'options' => [
1654
                                    'route' => '/take-a-test/:id',
1628
                                    'route' => '/take-a-test/:id',
1655
                                    'constraints' => [
1629
                                    'constraints' => [
1656
                                        'id' => '[A-Za-z0-9\-]+\=*'
1630
                                        'id' => '[A-Za-z0-9\-]+\=*'
1657
                                    ],
1631
                                    ],
Línea 1660... Línea 1634...
1660
                                        'action' => 'takeaTest'
1634
                                        'action' => 'takeaTest'
1661
                                    ]
1635
                                    ]
1662
                                ]
1636
                                ]
1663
                            ],
1637
                            ],
1664
                            'report' => [
1638
                            'report' => [
1665
                                'type' => Literal::class,
1639
                                'type' => Segment::class,
1666
                                'options' => [
1640
                                'options' => [
1667
                                    'route' => '/report/:id',
1641
                                    'route' => '/report/:id',
1668
                                    'constraints' => [
1642
                                    'constraints' => [
1669
                                        'id' => '[A-Za-z0-9\-]+\=*'
1643
                                        'id' => '[A-Za-z0-9\-]+\=*'
1670
                                    ],
1644
                                    ],
1671
                                    'defaults' => [
1645
                                    'defaults' => [
1672
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
1646
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
1673
                                        'action' => 'report'
1647
                                        'action' => 'report'
1674
                                    ]
1648
                                    ]
1675
                                ]
1649
                                ]
1676
                            ],
1650
                            ],
1677
                        ]
1651
                        ]
1678
                    ],
1652
                    ],
1679
                    'view' => [
-
 
1680
                        'type' => Segment::class,
-
 
1681
                        'options' => [
-
 
1682
                            'route' => '/view/:id',
-
 
1683
                            'constraints' => [
-
 
1684
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
1685
                            ],
-
 
1686
                            'defaults' => [
-
 
1687
                                'controller' => '\LeadersLinked\Controller\ProfileController',
-
 
1688
                                'action' => 'view'
-
 
1689
                            ]
-
 
1690
                        ]
-
 
1691
                    ],
-
 
1692
                    
-
 
1693
                    'my-profiles' => [
1653
                    'my-profiles' => [
1694
                        'type' => Literal::class,
1654
                        'type' => Literal::class,
1695
                        'options' => [
1655
                        'options' => [
1696
                            'route' => '/my-profiles',
1656
                            'route' => '/my-profiles',
1697
                            'defaults' => [
1657
                            'defaults' => [