Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 573 Rev 575
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
                    
-
 
1602
                    'view' => [
-
 
1603
                        'type' => Segment::class,
-
 
1604
                        'options' => [
-
 
1605
                            'route' => '/view/:id',
-
 
1606
                            'constraints' => [
-
 
1607
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
1608
                            ],
-
 
1609
                            'defaults' => [
-
 
1610
                                'controller' => '\LeadersLinked\Controller\ProfileController',
-
 
1611
                                'action' => 'view'
-
 
1612
                            ]
-
 
1613
                        ]
-
 
1614
                    ],
-
 
1615
                    'self-evaluation' => [
1601
                    'self-evaluation' => [
1616
                        'type' => Literal::class,
1602
                        'type' => Literal::class,
1617
                        'options' => [
1603
                        'options' => [
1618
                            'route' => '/self-evaluation',
1604
                            'route' => '/self-evaluation',
1619
                            'defaults' => [
1605
                            'defaults' => [
Línea 1622... Línea 1608...
1622
                            ]
1608
                            ]
1623
                        ],
1609
                        ],
1624
                        'may_terminate' => true,
1610
                        'may_terminate' => true,
1625
                        'child_routes' => [
1611
                        'child_routes' => [
1626
                            'take-a-test' => [
1612
                            'take-a-test' => [
1627
                                'type' => Segment::class,
1613
                                'type' => Literal::class,
1628
                                'options' => [
1614
                                'options' => [
1629
                                    'route' => '/take-a-test/:id',
1615
                                    'route' => '/take-a-test/:id',
1630
                                    'constraints' => [
1616
                                    'constraints' => [
1631
                                        'id' => '[A-Za-z0-9\-]+\=*'
1617
                                        'id' => '[A-Za-z0-9\-]+\=*'
1632
                                    ],
1618
                                    ],
Línea 1635... Línea 1621...
1635
                                        'action' => 'takeaTest'
1621
                                        'action' => 'takeaTest'
1636
                                    ]
1622
                                    ]
1637
                                ]
1623
                                ]
1638
                            ],
1624
                            ],
1639
                            'report' => [
1625
                            'report' => [
1640
                                'type' => Segment::class,
1626
                                'type' => Literal::class,
1641
                                'options' => [
1627
                                'options' => [
1642
                                    'route' => '/report/:id',
1628
                                    'route' => '/report/:id',
1643
                                    'constraints' => [
1629
                                    'constraints' => [
1644
                                        'id' => '[A-Za-z0-9\-]+\=*'
1630
                                        'id' => '[A-Za-z0-9\-]+\=*'
1645
                                    ],
1631
                                    ],
Línea 1649... Línea 1635...
1649
                                    ]
1635
                                    ]
1650
                                ]
1636
                                ]
1651
                            ],
1637
                            ],
1652
                        ]
1638
                        ]
1653
                    ],
1639
                    ],
1654
 
-
 
1655
                    'performance-evaluation' => [
1640
                    'performance-evaluation' => [
1656
                        'type' => Literal::class,
1641
                        'type' => Literal::class,
1657
                        'options' => [
1642
                        'options' => [
1658
                            'route' => '/performance-evaluation',
1643
                            'route' => '/performance-evaluation',
1659
                            'defaults' => [
1644
                            'defaults' => [
Línea 1669... Línea 1654...
1669
                                    'route' => '/take-a-test/:id',
1654
                                    'route' => '/take-a-test/:id',
1670
                                    'constraints' => [
1655
                                    'constraints' => [
1671
                                        'id' => '[A-Za-z0-9\-]+\=*'
1656
                                        'id' => '[A-Za-z0-9\-]+\=*'
1672
                                    ],
1657
                                    ],
1673
                                    'defaults' => [
1658
                                    'defaults' => [
1674
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
1659
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
1675
                                        'action' => 'takeaTest'
1660
                                        'action' => 'takeaTest'
1676
                                    ]
1661
                                    ]
1677
                                ]
1662
                                ]
1678
                            ],
1663
                            ],
1679
                            'report' => [
1664
                            'report' => [
Línea 1689... Línea 1674...
1689
                                    ]
1674
                                    ]
1690
                                ]
1675
                                ]
1691
                            ],
1676
                            ],
1692
                        ]
1677
                        ]
1693
                    ],
1678
                    ],
-
 
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
                    'self-evaluation' => [
-
 
1693
                        'type' => Literal::class,
-
 
1694
                        'options' => [
-
 
1695
                            'route' => '/self-evaluation',
-
 
1696
                            'defaults' => [
-
 
1697
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
-
 
1698
                                'action' => 'index'
-
 
1699
                            ]
-
 
1700
                        ],
-
 
1701
                        'may_terminate' => true,
-
 
1702
                        'child_routes' => [
-
 
1703
                            'take-a-test' => [
-
 
1704
                                'type' => Segment::class,
-
 
1705
                                'options' => [
-
 
1706
                                    'route' => '/take-a-test/:id',
-
 
1707
                                    'constraints' => [
-
 
1708
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
1709
                                    ],
-
 
1710
                                    'defaults' => [
-
 
1711
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
-
 
1712
                                        'action' => 'takeaTest'
-
 
1713
                                    ]
-
 
1714
                                ]
-
 
1715
                            ],
-
 
1716
                            'report' => [
-
 
1717
                                'type' => Segment::class,
-
 
1718
                                'options' => [
-
 
1719
                                    'route' => '/report/:id',
-
 
1720
                                    'constraints' => [
-
 
1721
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
1722
                                    ],
-
 
1723
                                    'defaults' => [
-
 
1724
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
-
 
1725
                                        'action' => 'report'
-
 
1726
                                    ]
-
 
1727
                                ]
-
 
1728
                            ],
-
 
1729
                        ]
1694
 
-
 
1695
 
-
 
1696
 
-
 
-
 
1730
                    ],
1697
                    'my-profiles' => [
1731
                    'my-profiles' => [
1698
                        'type' => Literal::class,
1732
                        'type' => Literal::class,
1699
                        'options' => [
1733
                        'options' => [
1700
                            'route' => '/my-profiles',
1734
                            'route' => '/my-profiles',
1701
                            'defaults' => [
1735
                            'defaults' => [