Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 700 Rev 701
Línea 1774... Línea 1774...
1774
                            ]
1774
                            ]
1775
                        ]
1775
                        ]
1776
                    ]
1776
                    ]
1777
                ]
1777
                ]
1778
            ],
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',
-
 
1847
                                    'constraints' => [
-
 
1848
                                        'uuid' => '[A-Za-z0-9\-]+\=*'
-
 
1849
                                    ],
-
 
1850
                                    'defaults' => [
-
 
1851
                                        'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1852
                                        'action' => 'deleteMessage'
-
 
1853
                                    ]
-
 
1854
                                ]
-
 
1855
                            ]
-
 
1856
                        ]
-
 
1857
                    ]
-
 
1858
                ]
-
 
1859
            ],
1779
            'connection' => [
1860
            'connection' => [
1780
                'type' => Literal::class,
1861
                'type' => Literal::class,
1781
                'options' => [
1862
                'options' => [
1782
                    'route' => '/connection',
1863
                    'route' => '/connection',
1783
                    'defaults' => [
1864
                    'defaults' => [