Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 581 Rev 733
Línea 2736... Línea 2736...
2736
                                                ]
2736
                                                ]
2737
                                            ],
2737
                                            ],
2738
                                            'get' => [
2738
                                            'get' => [
2739
                                                'type' => Segment::class,
2739
                                                'type' => Segment::class,
2740
                                                'options' => [
2740
                                                'options' => [
2741
                                                    'route' => '/get/:comment_id',
2741
                                                    'route' => '/get/:comment',
2742
                                                    'constraints' => [
2742
                                                    'constraints' => [
2743
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
2743
                                                        'comment' => '[A-Za-z0-9\-]+\=*'
2744
                                                    ],
2744
                                                    ],
2745
                                                    'defaults' => [
2745
                                                    'defaults' => [
2746
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2746
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2747
                                                        'action' => 'get'
2747
                                                        'action' => 'get'
2748
                                                    ]
2748
                                                    ]
2749
                                                ]
2749
                                                ]
2750
                                            ],
2750
                                            ],
2751
                                            'delete' => [
2751
                                            'delete' => [
2752
                                                'type' => Segment::class,
2752
                                                'type' => Segment::class,
2753
                                                'options' => [
2753
                                                'options' => [
2754
                                                    'route' => '/delete/:comment_id',
2754
                                                    'route' => '/delete/:comment',
2755
                                                    'constraints' => [
2755
                                                    'constraints' => [
2756
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
2756
                                                        'comment' => '[A-Za-z0-9\-]+\=*'
2757
                                                    ],
2757
                                                    ],
2758
                                                    'defaults' => [
2758
                                                    'defaults' => [
2759
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2759
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
2760
                                                        'action' => 'delete'
2760
                                                        'action' => 'delete'
2761
                                                    ]
2761
                                                    ]
Línea 2763... Línea 2763...
2763
                                            ],
2763
                                            ],
2764
                                        ]
2764
                                        ]
2765
                                    ],
2765
                                    ],
2766
                                ]
2766
                                ]
2767
                            ],
2767
                            ],
2768
                            'services/microlearning/capsules',
-
 
2769
                            'services/microlearning/capsules/comments',
-
 
2770
                            'services/microlearning/capsules/comments/get',
-
 
2771
                            'services/microlearning/capsules/comments/add',
-
 
2772
                            'services/microlearning/capsules/comments/delete',
-
 
-
 
2768
 
2773
                        ]
2769
                        ]
2774
                    ],
2770
                    ],
2775
                ]
2771
                ]
2776
            ],
2772
            ],
2777
            'marketplace' => [
2773
            'marketplace' => [