Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7024 Rev 7184
Línea 3660... Línea 3660...
3660
                'child_routes' => [
3660
                'child_routes' => [
3661
                ]
3661
                ]
3662
            ],
3662
            ],
Línea 3663... Línea 3663...
3663
            
3663
            
-
 
3664
            /* copy */
-
 
3665
 
-
 
3666
            'feed' => [
-
 
3667
                'type' => Literal::class,
-
 
3668
                'options' => [
-
 
3669
                    'route' => '/feed',
-
 
3670
                    'defaults' => [
-
 
3671
                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3672
                        'action' => 'index'
-
 
3673
                    ]
-
 
3674
                ],
-
 
3675
                'may_terminate' => true,
-
 
3676
                'child_routes' => [
-
 
3677
                    'timeline' => [
-
 
3678
                        'type' => Segment::class,
-
 
3679
                        'options' => [
-
 
3680
                            'route' => '/timeline/:id/:type[/feed/:feed]',
-
 
3681
                            'constraints' => [
-
 
3682
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3683
                                'type' => 'user|company|group',
-
 
3684
                                'feed' => '[A-Za-z0-9\-]+\=*',
-
 
3685
                            ],
-
 
3686
                            'defaults' => [
-
 
3687
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3688
                                'action' => 'timeline'
-
 
3689
                            ]
-
 
3690
                        ]
-
 
3691
                    ],
-
 
3692
                    'delete' => [
-
 
3693
                        'type' => Segment::class,
-
 
3694
                        'options' => [
-
 
3695
                            'route' => '/delete/:id',
-
 
3696
                            'constraints' => [
-
 
3697
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3698
                            ],
-
 
3699
                            'defaults' => [
-
 
3700
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3701
                                'action' => 'delete'
-
 
3702
                            ],
-
 
3703
                        ]
-
 
3704
                    ],
-
 
3705
                    'comment' => [
-
 
3706
                        'type' => Segment::class,
-
 
3707
                        'options' => [
-
 
3708
                            'route' => '/comment/:id',
-
 
3709
                            'constraints' => [
-
 
3710
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3711
                            ],
-
 
3712
                            'defaults' => [
-
 
3713
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3714
                                'action' => 'comment'
-
 
3715
                            ],
-
 
3716
                        ],
-
 
3717
                        'may_terminate' => true,
-
 
3718
                        'child_routes' => [
-
 
3719
                            'delete' => [
-
 
3720
                                'type' => Segment::class,
-
 
3721
                                'options' => [
-
 
3722
                                    'route' => '/delete/:comment',
-
 
3723
                                    'constraints' => [
-
 
3724
                                        'comment' => '[A-Za-z0-9\-]+\=*',
-
 
3725
                                    ],
-
 
3726
                                    'defaults' => [
-
 
3727
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3728
                                        'action' => 'commentDelete'
-
 
3729
                                    ]
-
 
3730
                                ]
-
 
3731
                            ],
-
 
3732
                        ]
-
 
3733
                    ],
-
 
3734
                    'share' => [
-
 
3735
                        'type' => Segment::class,
-
 
3736
                        'options' => [
-
 
3737
                            'route' => '/share/:id[/company/:company_id][/group/:group_id][/encoding/:encoding]',
-
 
3738
                            'constraints' => [
-
 
3739
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3740
                                'company_id' => '[A-Za-z0-9\-]+\=*',
-
 
3741
                                'group_id' => '[A-Za-z0-9\-]+\=*',
-
 
3742
                                'encoding' => 'base64'
-
 
3743
                            ],
-
 
3744
                            'defaults' => [
-
 
3745
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3746
                                'action' => 'share'
-
 
3747
                            ]
-
 
3748
                        ]
-
 
3749
                    ],
-
 
3750
                    'like' => [
-
 
3751
                        'type' => Segment::class,
-
 
3752
                        'options' => [
-
 
3753
                            'route' => '/like/:id',
-
 
3754
                            'constraints' => [
-
 
3755
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3756
                            ],
-
 
3757
                            'defaults' => [
-
 
3758
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3759
                                'action' => 'like'
-
 
3760
                            ]
-
 
3761
                        ]
-
 
3762
                    ],
-
 
3763
                    'unlike' => [
-
 
3764
                        'type' => Segment::class,
-
 
3765
                        'options' => [
-
 
3766
                            'route' => '/unlike/:id',
-
 
3767
                            'constraints' => [
-
 
3768
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3769
                            ],
-
 
3770
                            'defaults' => [
-
 
3771
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3772
                                'action' => 'unlike'
-
 
3773
                            ]
-
 
3774
                        ]
-
 
3775
                    ],
-
 
3776
                    'add' => [
-
 
3777
                        'type' => Segment::class,
-
 
3778
                        'options' => [
-
 
3779
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
-
 
3780
                            'constraints' => [
-
 
3781
                                'company_id' => '[A-Za-z0-9\-]+\=*',
-
 
3782
                                'group_id' => '[A-Za-z0-9\-]+\=*',
-
 
3783
                                'encoding' => 'base64'
-
 
3784
                            ],
-
 
3785
                            'defaults' => [
-
 
3786
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
-
 
3787
                                'action' => 'add'
-
 
3788
                            ]
-
 
3789
                        ]
-
 
3790
                    ],
-
 
3791
                ],
3664
            /* copy */
3792
            ],
3665
            'high-performance-teams' => [
3793
            'high-performance-teams' => [
3666
                'type' => Literal::class,
3794
                'type' => Literal::class,
3667
                'options' => [
3795
                'options' => [
3668
                    'route' => '/high-performance-teams',
3796
                    'route' => '/high-performance-teams',