Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 701 Rev 706
Línea 1745... Línea 1745...
1745
                            ]
1745
                            ]
1746
                        ],
1746
                        ],
1747
                        'may_terminate' => true,
1747
                        'may_terminate' => true,
1748
                        'child_routes' => [
1748
                        'child_routes' => [
1749
                            'send' => [
1749
                            'send' => [
1750
                                'type' => Segment::class,
1750
                                'type' => Literal::class,
1751
                                'options' => [
1751
                                'options' => [
1752
                                    'route' => '/send/:uuid',
1752
                                    'route' => '/send',
1753
                                    'constraints' => [
-
 
1754
                                        'uuid' => '[A-Za-z0-9\-]+\=*'
-
 
1755
                                    ],
-
 
1756
                                    'defaults' => [
1753
                                    'defaults' => [
1757
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1754
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1758
                                        'action' => 'sendMessage'
1755
                                        'action' => 'sendMessage'
1759
                                    ]
1756
                                    ]
1760
                                ]
1757
                                ]
1761
                            ],
1758
                            ],
1762
                            'delete' => [
1759
                            'delete' => [
1763
                                'type' => Segment::class,
1760
                                'type' => Literal::class,
1764
                                'options' => [
1761
                                'options' => [
1765
                                    'route' => '/delete/:uuid',
-
 
1766
                                    'constraints' => [
-
 
1767
                                        'uuid' => '[A-Za-z0-9\-]+\=*'
-
 
1768
                                    ],
-
 
1769
                                    'defaults' => [
-
 
1770
                                        'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1771
                                        'action' => 'deleteMessage'
-
 
1772
                                    ]
-
 
1773
                                ]
-
 
1774
                            ]
-
 
1775
                        ]
-
 
1776
                    ]
-
 
1777
                ]
-
 
1778
            ],
-
 
1779
            'email' => [
-
 
1780
                'type' => Segment::class,
-
 
1781
                'options' => [
-
 
1782
                    'route' => '/email',
-
 
1783
                    'defaults' => [
-
 
1784
                        'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1785
                        'action' => 'index'
-
 
1786
                    ]
-
 
1787
                ],
-
 
1788
                'may_terminate' => true,
-
 
1789
                'child_routes' => [
-
 
1790
                    'user' => [
-
 
1791
                        'type' => Literal::class,
-
 
1792
                        'options' => [
-
 
1793
                            'route' => '/user',
-
 
1794
                            'defaults' => [
-
 
1795
                                'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1796
                                'action' => 'users'
-
 
1797
                            ]
-
 
1798
                        ],
-
 
1799
                        'may_terminate' => true,
-
 
1800
                        'child_routes' => [
-
 
1801
                            'block' => [
-
 
1802
                                'type' => Segment::class,
-
 
1803
                                'options' => [
-
 
1804
                                    'route' => '/block/:id',
-
 
1805
                                    'constraints' => [
-
 
1806
                                        'id' => '[A-Za-z0-9\-]+'
-
 
1807
                                    ],
-
 
1808
                                    'defaults' => [
-
 
1809
                                        'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1810
                                        'action' => 'blockUser'
-
 
1811
                                    ]
-
 
1812
                                ]
-
 
1813
                            ]
-
 
1814
                        ]
-
 
1815
                    ],
-
 
1816
                    'messages' => [
-
 
1817
                        'type' => Segment::class,
-
 
1818
                        'options' => [
-
 
1819
                            'route' => '/messages/:uuid',
-
 
1820
                            'constraints' => [
-
 
1821
                                'uuid' => '[A-Za-z0-9\-]+\=*'
-
 
1822
                            ],
-
 
1823
                            'defaults' => [
-
 
1824
                                'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1825
                                'action' => 'getMessages'
-
 
1826
                            ]
-
 
1827
                        ],
-
 
1828
                        'may_terminate' => true,
-
 
1829
                        'child_routes' => [
-
 
1830
                            'send' => [
-
 
1831
                                'type' => Segment::class,
-
 
1832
                                'options' => [
-
 
1833
                                    'route' => '/send/:uuid',
-
 
1834
                                    'constraints' => [
-
 
1835
                                        'uuid' => '[A-Za-z0-9\-]+\=*'
-
 
1836
                                    ],
-
 
1837
                                    'defaults' => [
-
 
1838
                                        'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1839
                                        'action' => 'sendMessage'
-
 
1840
                                    ]
-
 
1841
                                ]
-
 
1842
                            ],
-
 
1843
                            'delete' => [
-
 
1844
                                'type' => Segment::class,
-
 
1845
                                'options' => [
-
 
1846
                                    'route' => '/delete/:uuid',
1762
                                    'route' => '/delete',
1847
                                    'constraints' => [
-
 
1848
                                        'uuid' => '[A-Za-z0-9\-]+\=*'
-
 
1849
                                    ],
-
 
1850
                                    'defaults' => [
1763
                                    'defaults' => [
1851
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1764
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1852
                                        'action' => 'deleteMessage'
1765
                                        'action' => 'deleteMessage'
1853
                                    ]
1766
                                    ]
1854
                                ]
1767
                                ]