Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 674 Rev 675
Línea 1730... Línea 1730...
1730
                                    ]
1730
                                    ]
1731
                                ]
1731
                                ]
1732
                            ]
1732
                            ]
1733
                        ]
1733
                        ]
1734
                    ],
1734
                    ],
1735
                    'message' => [
1735
                    'messages' => [
1736
                        'type' => Literal::class,
1736
                        'type' => Literal::class,
1737
                        'options' => [
1737
                        'options' => [
1738
                            'route' => '/message/:id',
1738
                            'route' => '/messages/:id',
1739
                            'constraints' => [
1739
                            'constraints' => [
1740
                                'id' => '[A-Za-z0-9\-]+\=*'
1740
                                'id' => '[A-Za-z0-9\-]+\=*'
1741
                            ],
1741
                            ],
1742
                            'defaults' => [
1742
                            'defaults' => [
1743
                                'controller' => '\LeadersLinked\Controller\InMailController',
1743
                                'controller' => '\LeadersLinked\Controller\InMailController',
1744
                                'action' => 'message'
1744
                                'action' => 'messages'
1745
                            ]
1745
                            ]
1746
                        ],
1746
                        ],
1747
                        'may_terminate' => true,
1747
                        'may_terminate' => true,
1748
                        'child_routes' => [
1748
                        'child_routes' => [
1749
                            'send' => [
1749
                            'send' => [
Línea 1769... Línea 1769...
1769
                                    'defaults' => [
1769
                                    'defaults' => [
1770
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1770
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1771
                                        'action' => 'deleteMessage'
1771
                                        'action' => 'deleteMessage'
1772
                                    ]
1772
                                    ]
1773
                                ]
1773
                                ]
1774
                            ],
-
 
1775
                            'get' => [
-
 
1776
                                'type' => Segment::class,
-
 
1777
                                'options' => [
-
 
1778
                                    'route' => '/get/:id',
-
 
1779
                                    'constraints' => [
-
 
1780
                                        'id' => '[0-9]+'
-
 
1781
                                    ],
-
 
1782
                                    'defaults' => [
-
 
1783
                                        'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1784
                                        'action' => 'getMessage'
-
 
1785
                                    ]
-
 
1786
                                ]
-
 
1787
                            ],
-
 
1788
                            'attachment' => [
-
 
1789
                                'type' => Segment::class,
-
 
1790
                                'options' => [
-
 
1791
                                    'route' => '/attachment/:id/:attachment',
-
 
1792
                                    'constraints' => [
-
 
1793
                                        'id' => '[0-9]+',
-
 
1794
                                        'attachment' => '[0-9]+'
-
 
1795
                                    ],
-
 
1796
                                    'defaults' => [
-
 
1797
                                        'controller' => '\LeadersLinked\Controller\InMailController',
-
 
1798
                                        'action' => 'getAttachment'
-
 
1799
                                    ]
-
 
1800
                                ]
-
 
1801
                            ]
1774
                            ]
1802
                        ]
1775
                        ]
1803
                    ]
1776
                    ]
1804
                ]
1777
                ]
1805
            ],
1778
            ],