Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7188 Rev 7191
Línea 3666... Línea 3666...
3666
            'feed' => [
3666
            'feed' => [
3667
                'type' => Literal::class,
3667
                'type' => Literal::class,
3668
                'options' => [
3668
                'options' => [
3669
                    'route' => '/feed',
3669
                    'route' => '/feed',
3670
                    'defaults' => [
3670
                    'defaults' => [
3671
                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3671
                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3672
                        'action' => 'index'
3672
                        'action' => 'index'
3673
                    ]
3673
                    ]
3674
                ],
3674
                ],
3675
                'may_terminate' => true,
3675
                'may_terminate' => true,
3676
                'child_routes' => [
3676
                'child_routes' => [
Línea 3682... Línea 3682...
3682
                                'id' => '[A-Za-z0-9\-]+\=*',
3682
                                'id' => '[A-Za-z0-9\-]+\=*',
3683
                                'type' => 'user|company|group',
3683
                                'type' => 'user|company|group',
3684
                                'feed' => '[A-Za-z0-9\-]+\=*',
3684
                                'feed' => '[A-Za-z0-9\-]+\=*',
3685
                            ],
3685
                            ],
3686
                            'defaults' => [
3686
                            'defaults' => [
3687
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3687
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3688
                                'action' => 'timeline'
3688
                                'action' => 'timeline'
3689
                            ]
3689
                            ]
3690
                        ]
3690
                        ]
3691
                    ],
3691
                    ],
3692
                    'delete' => [
3692
                    'delete' => [
Línea 3695... Línea 3695...
3695
                            'route' => '/delete/:id',
3695
                            'route' => '/delete/:id',
3696
                            'constraints' => [
3696
                            'constraints' => [
3697
                                'id' => '[A-Za-z0-9\-]+\=*',
3697
                                'id' => '[A-Za-z0-9\-]+\=*',
3698
                            ],
3698
                            ],
3699
                            'defaults' => [
3699
                            'defaults' => [
3700
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3700
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3701
                                'action' => 'delete'
3701
                                'action' => 'delete'
3702
                            ],
3702
                            ],
3703
                        ]
3703
                        ]
3704
                    ],
3704
                    ],
3705
                    'comment' => [
3705
                    'comment' => [
Línea 3708... Línea 3708...
3708
                            'route' => '/comment/:id',
3708
                            'route' => '/comment/:id',
3709
                            'constraints' => [
3709
                            'constraints' => [
3710
                                'id' => '[A-Za-z0-9\-]+\=*',
3710
                                'id' => '[A-Za-z0-9\-]+\=*',
3711
                            ],
3711
                            ],
3712
                            'defaults' => [
3712
                            'defaults' => [
3713
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3713
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3714
                                'action' => 'comment'
3714
                                'action' => 'comment'
3715
                            ],
3715
                            ],
3716
                        ],
3716
                        ],
3717
                        'may_terminate' => true,
3717
                        'may_terminate' => true,
3718
                        'child_routes' => [
3718
                        'child_routes' => [
Línea 3722... Línea 3722...
3722
                                    'route' => '/delete/:comment',
3722
                                    'route' => '/delete/:comment',
3723
                                    'constraints' => [
3723
                                    'constraints' => [
3724
                                        'comment' => '[A-Za-z0-9\-]+\=*',
3724
                                        'comment' => '[A-Za-z0-9\-]+\=*',
3725
                                    ],
3725
                                    ],
3726
                                    'defaults' => [
3726
                                    'defaults' => [
3727
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3727
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3728
                                        'action' => 'commentDelete'
3728
                                        'action' => 'commentDelete'
3729
                                    ]
3729
                                    ]
3730
                                ]
3730
                                ]
3731
                            ],
3731
                            ],
3732
                        ]
3732
                        ]
Línea 3740... Línea 3740...
3740
                                'company_id' => '[A-Za-z0-9\-]+\=*',
3740
                                'company_id' => '[A-Za-z0-9\-]+\=*',
3741
                                'group_id' => '[A-Za-z0-9\-]+\=*',
3741
                                'group_id' => '[A-Za-z0-9\-]+\=*',
3742
                                'encoding' => 'base64'
3742
                                'encoding' => 'base64'
3743
                            ],
3743
                            ],
3744
                            'defaults' => [
3744
                            'defaults' => [
3745
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3745
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3746
                                'action' => 'share'
3746
                                'action' => 'share'
3747
                            ]
3747
                            ]
3748
                        ]
3748
                        ]
3749
                    ],
3749
                    ],
3750
                    'like' => [
3750
                    'like' => [
Línea 3753... Línea 3753...
3753
                            'route' => '/like/:id',
3753
                            'route' => '/like/:id',
3754
                            'constraints' => [
3754
                            'constraints' => [
3755
                                'id' => '[A-Za-z0-9\-]+\=*',
3755
                                'id' => '[A-Za-z0-9\-]+\=*',
3756
                            ],
3756
                            ],
3757
                            'defaults' => [
3757
                            'defaults' => [
3758
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3758
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3759
                                'action' => 'like'
3759
                                'action' => 'like'
3760
                            ]
3760
                            ]
3761
                        ]
3761
                        ]
3762
                    ],
3762
                    ],
3763
                    'unlike' => [
3763
                    'unlike' => [
Línea 3766... Línea 3766...
3766
                            'route' => '/unlike/:id',
3766
                            'route' => '/unlike/:id',
3767
                            'constraints' => [
3767
                            'constraints' => [
3768
                                'id' => '[A-Za-z0-9\-]+\=*',
3768
                                'id' => '[A-Za-z0-9\-]+\=*',
3769
                            ],
3769
                            ],
3770
                            'defaults' => [
3770
                            'defaults' => [
3771
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3771
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3772
                                'action' => 'unlike'
3772
                                'action' => 'unlike'
3773
                            ]
3773
                            ]
3774
                        ]
3774
                        ]
3775
                    ],
3775
                    ],
3776
                    'add' => [
3776
                    'add' => [
Línea 3781... Línea 3781...
3781
                                'company_id' => '[A-Za-z0-9\-]+\=*',
3781
                                'company_id' => '[A-Za-z0-9\-]+\=*',
3782
                                'group_id' => '[A-Za-z0-9\-]+\=*',
3782
                                'group_id' => '[A-Za-z0-9\-]+\=*',
3783
                                'encoding' => 'base64'
3783
                                'encoding' => 'base64'
3784
                            ],
3784
                            ],
3785
                            'defaults' => [
3785
                            'defaults' => [
3786
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsMyGroupsFeedController',
3786
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupFeedController',
3787
                                'action' => 'add'
3787
                                'action' => 'add'
3788
                            ]
3788
                            ]
3789
                        ]
3789
                        ]
3790
                    ],
3790
                    ],
3791
                ],
3791
                ],