Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 279 Rev 280
Línea 2792... Línea 2792...
2792
                                        'action' => 'microlearningCheckChanges'
2792
                                        'action' => 'microlearningCheckChanges'
2793
                                    ]
2793
                                    ]
2794
                                ]
2794
                                ]
2795
                            ],
2795
                            ],
Línea -... Línea 2796...
-
 
2796
                            
-
 
2797
                            'capsules' => [
-
 
2798
                                'type' => Literal::class,
-
 
2799
                                'options' => [
-
 
2800
                                    'route' => '/capsules',
-
 
2801
                                    'defaults' => [
-
 
2802
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
-
 
2803
                                        'action' => 'microlearningCapsules'
-
 
2804
                                    ]
-
 
2805
                                ],
-
 
2806
                                'may_terminate' => true,
-
 
2807
                                'child_routes' => [
-
 
2808
                                    'comments' => [
-
 
2809
                                        'type' =>  Segment::class,
-
 
2810
                                        'options' => [
-
 
2811
                                            'route' => '/comments/:capsule_id',
-
 
2812
                                            'constraints' => [
-
 
2813
                                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
-
 
2814
                                            ],
-
 
2815
                                            'defaults' => [
-
 
2816
                                                'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
2817
                                                'action' => 'index'
-
 
2818
                                            ]
-
 
2819
                                        ],
-
 
2820
                                        'may_terminate' => true,
-
 
2821
                                        'child_routes' => [
-
 
2822
                                            'add' => [
-
 
2823
                                                'type' => Literal::class,
-
 
2824
                                                'options' => [
-
 
2825
                                                    'route' => '/add',
-
 
2826
                                                    'defaults' => [
-
 
2827
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
2828
                                                        'action' => 'add'
-
 
2829
                                                    ]
-
 
2830
                                                ]
-
 
2831
                                            ],
-
 
2832
                                            'get' => [
-
 
2833
                                                'type' => Segment::class,
-
 
2834
                                                'options' => [
-
 
2835
                                                    'route' => '/get/:comment_id',
-
 
2836
                                                    'constraints' => [
-
 
2837
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
-
 
2838
                                                    ],
-
 
2839
                                                    'defaults' => [
-
 
2840
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
2841
                                                        'action' => 'get'
-
 
2842
                                                    ]
-
 
2843
                                                ]
-
 
2844
                                            ],
-
 
2845
                                            'delete' => [
-
 
2846
                                                'type' => Segment::class,
-
 
2847
                                                'options' => [
-
 
2848
                                                    'route' => '/delete/:comment_id',
-
 
2849
                                                    'constraints' => [
-
 
2850
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
-
 
2851
                                                    ],
-
 
2852
                                                    'defaults' => [
-
 
2853
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
-
 
2854
                                                        'action' => 'delete'
-
 
2855
                                                    ]
-
 
2856
                                                ]
-
 
2857
                                            ],
-
 
2858
                                        ]
-
 
2859
                                    ],
-
 
2860
                                ]   
-
 
2861
                            ],
-
 
2862
                            
-
 
2863
                            
-
 
2864
                            'services/microlearning/capsules',
-
 
2865
                            'services/microlearning/capsules/comments',
-
 
2866
                            'services/microlearning/capsules/comments/get',
-
 
2867
                            'services/microlearning/capsules/comments/add',
-
 
2868
                            'services/microlearning/capsules/comments/delete',
2796
                            
2869
                            
2797
                        ]    
2870
                        ]    
Línea 2798... Línea 2871...
2798
                    ],
2871
                    ],