Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7218 Rev 7220
Línea 3844... Línea 3844...
3844
                ]
3844
                ]
3845
            ],
3845
            ],
Línea 3846... Línea 3846...
3846
            
3846
            
Línea 3847... Línea -...
3847
            /* copy */
-
 
3848
 
-
 
3849
            'feed' => [
-
 
3850
                'type' => Literal::class,
-
 
3851
                'options' => [
-
 
3852
                    'route' => '/feed',
-
 
3853
                    'defaults' => [
-
 
3854
                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3855
                        'action' => 'index'
-
 
3856
                    ]
-
 
3857
                ],
-
 
3858
                'may_terminate' => true,
-
 
3859
                'child_routes' => [
-
 
3860
                    'timeline' => [
-
 
3861
                        'type' => Segment::class,
-
 
3862
                        'options' => [
-
 
3863
                            'route' => '/timeline/:id/:type[/feed/:feed]',
-
 
3864
                            'constraints' => [
-
 
3865
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3866
                                'type' => 'user|company|group',
-
 
3867
                                'feed' => '[A-Za-z0-9\-]+\=*',
-
 
3868
                            ],
-
 
3869
                            'defaults' => [
-
 
3870
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3871
                                'action' => 'timeline'
-
 
3872
                            ]
-
 
3873
                        ]
-
 
3874
                    ],
-
 
3875
                    'delete' => [
-
 
3876
                        'type' => Segment::class,
-
 
3877
                        'options' => [
-
 
3878
                            'route' => '/delete/:id',
-
 
3879
                            'constraints' => [
-
 
3880
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3881
                            ],
-
 
3882
                            'defaults' => [
-
 
3883
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3884
                                'action' => 'delete'
-
 
3885
                            ],
-
 
3886
                        ]
-
 
3887
                    ],
-
 
3888
                    'comment' => [
-
 
3889
                        'type' => Segment::class,
-
 
3890
                        'options' => [
-
 
3891
                            'route' => '/comment/:id',
-
 
3892
                            'constraints' => [
-
 
3893
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3894
                            ],
-
 
3895
                            'defaults' => [
-
 
3896
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3897
                                'action' => 'comment'
-
 
3898
                            ],
-
 
3899
                        ],
-
 
3900
                        'may_terminate' => true,
-
 
3901
                        'child_routes' => [
-
 
3902
                            'delete' => [
-
 
3903
                                'type' => Segment::class,
-
 
3904
                                'options' => [
-
 
3905
                                    'route' => '/delete/:comment',
-
 
3906
                                    'constraints' => [
-
 
3907
                                        'comment' => '[A-Za-z0-9\-]+\=*',
-
 
3908
                                    ],
-
 
3909
                                    'defaults' => [
-
 
3910
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3911
                                        'action' => 'commentDelete'
-
 
3912
                                    ]
-
 
3913
                                ]
-
 
3914
                            ],
-
 
3915
                        ]
-
 
3916
                    ],
-
 
3917
                    'share' => [
-
 
3918
                        'type' => Segment::class,
-
 
3919
                        'options' => [
-
 
3920
                            'route' => '/share/:id[/company/:company_id][/group/:group_id][/encoding/:encoding]',
-
 
3921
                            'constraints' => [
-
 
3922
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3923
                                'company_id' => '[A-Za-z0-9\-]+\=*',
-
 
3924
                                'group_id' => '[A-Za-z0-9\-]+\=*',
-
 
3925
                                'encoding' => 'base64'
-
 
3926
                            ],
-
 
3927
                            'defaults' => [
-
 
3928
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3929
                                'action' => 'share'
-
 
3930
                            ]
-
 
3931
                        ]
-
 
3932
                    ],
-
 
3933
                    'like' => [
-
 
3934
                        'type' => Segment::class,
-
 
3935
                        'options' => [
-
 
3936
                            'route' => '/like/:id',
-
 
3937
                            'constraints' => [
-
 
3938
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3939
                            ],
-
 
3940
                            'defaults' => [
-
 
3941
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3942
                                'action' => 'like'
-
 
3943
                            ]
-
 
3944
                        ]
-
 
3945
                    ],
-
 
3946
                    'unlike' => [
-
 
3947
                        'type' => Segment::class,
-
 
3948
                        'options' => [
-
 
3949
                            'route' => '/unlike/:id',
-
 
3950
                            'constraints' => [
-
 
3951
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3952
                            ],
-
 
3953
                            'defaults' => [
-
 
3954
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3955
                                'action' => 'unlike'
-
 
3956
                            ]
-
 
3957
                        ]
-
 
3958
                    ],
-
 
3959
                    'add' => [
-
 
3960
                        'type' => Segment::class,
-
 
3961
                        'options' => [
-
 
3962
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
-
 
3963
                            'constraints' => [
-
 
3964
                                'company_id' => '[A-Za-z0-9\-]+\=*',
-
 
3965
                                'group_id' => '[A-Za-z0-9\-]+\=*',
-
 
3966
                                'encoding' => 'base64'
-
 
3967
                            ],
-
 
3968
                            'defaults' => [
-
 
3969
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
-
 
3970
                                'action' => 'add'
-
 
3971
                            ]
-
 
3972
                        ]
-
 
3973
                    ],
3847
            /* copy */
3974
                ],
3848
 
3975
            ],
3849
           
3976
            'high-performance-teams' => [
3850
            'high-performance-teams' => [
3977
                'type' => Literal::class,
3851
                'type' => Literal::class,
3978
                'options' => [
3852
                'options' => [