Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 119 Rev 161
Línea 3457... Línea 3457...
3457
                                        'action' => 'microlearningCapsules'
3457
                                        'action' => 'microlearningCapsules'
3458
                                    ]
3458
                                    ]
3459
                                ],
3459
                                ],
3460
                                'may_terminate' => true,
3460
                                'may_terminate' => true,
3461
                                'child_routes' => [
3461
                                'child_routes' => [
-
 
3462
         
-
 
3463
                                    
3462
                                    'comments' => [
3464
                                    'comments' => [
3463
                                        'type' => Segment::class,
3465
                                        'type' => Segment::class,
3464
                                        'options' => [
3466
                                        'options' => [
3465
                                            'route' => '/comments/:capsule_id',
3467
                                            'route' => '/comments/:capsule_id',
3466
                                            'constraints' => [
3468
                                            'constraints' => [
Línea 3642... Línea 3644...
3642
                            'route' => '/topics',
3644
                            'route' => '/topics',
3643
                            'defaults' => [
3645
                            'defaults' => [
3644
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3646
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3645
                                'action' => 'topics'
3647
                                'action' => 'topics'
3646
                            ]
3648
                            ]
3647
                        ]
3649
                        ],
-
 
3650
                        'may_terminate' => true,
-
 
3651
                           
3648
                    ],
3652
                    ],
-
 
3653
                    'get-topic' => [
-
 
3654
                        'type' => Segment::class,
-
 
3655
                        'options' => [
-
 
3656
                            'route' => '/get-topic/:id',
-
 
3657
                            'constraints' => [
-
 
3658
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
3659
                            ],
-
 
3660
                            'defaults' => [
-
 
3661
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3662
                                'action' => 'getTopic'
-
 
3663
                            ]
-
 
3664
                        ],
-
 
3665
                        'may_terminate' => true,
-
 
3666
                    ],      
3649
                    'capsules' => [
3667
                    'capsules' => [
3650
                        'type' => Segment::class,
3668
                        'type' => Segment::class,
3651
                        'options' => [
3669
                        'options' => [
3652
                            'route' => '/capsules/:topic_id',
3670
                            'route' => '/capsules/:topic_id',
3653
                            'constraints' => [
3671
                            'constraints' => [
Línea 3655... Línea 3673...
3655
                            ],
3673
                            ],
3656
                            'defaults' => [
3674
                            'defaults' => [
3657
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3675
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3658
                                'action' => 'capsules'
3676
                                'action' => 'capsules'
3659
                            ]
3677
                            ]
3660
                        ]
3678
                        ],
-
 
3679
                        'may_terminate' => true,
-
 
3680
                    ],
-
 
3681
                    'get-capsule' => [
-
 
3682
                        'type' => Segment::class,
-
 
3683
                        'options' => [
-
 
3684
                            'route' => '/get-capsule/:id',
-
 
3685
                            'constraints' => [
-
 
3686
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3687
                            ],
-
 
3688
                            'defaults' => [
-
 
3689
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3690
                                'action' => 'getCapsule'
-
 
3691
                            ],
-
 
3692
                            'may_terminate' => true,
-
 
3693
                        ],
3661
                    ],
3694
                    ],
3662
                    'slides' => [
3695
                    'slides' => [
3663
                        'type' => Segment::class,
3696
                        'type' => Segment::class,
3664
                        'options' => [
3697
                        'options' => [
3665
                            'route' => '/slides/:topic_id/:capsule_id',
3698
                            'route' => '/slides/:topic_id/:capsule_id',
Línea 3670... Línea 3703...
3670
                            ],
3703
                            ],
3671
                            'defaults' => [
3704
                            'defaults' => [
3672
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3705
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
3673
                                'action' => 'slides'
3706
                                'action' => 'slides'
3674
                            ]
3707
                            ]
3675
                        ]
3708
                        ],
-
 
3709
                        'may_terminate' => true,
-
 
3710
                    ],
-
 
3711
                    'get-slide' => [
-
 
3712
                        'type' => Segment::class,
-
 
3713
                        'options' => [
-
 
3714
                            'route' => '/get-slide/:id',
-
 
3715
                            'constraints' => [
-
 
3716
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
3717
                            ],
-
 
3718
                            'defaults' => [
-
 
3719
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3720
                                'action' => 'getSlide'
-
 
3721
                            ]
-
 
3722
                        ],
-
 
3723
                        'may_terminate' => true,
3676
                    ],
3724
                    ],
3677
                    'sync' => [
3725
                    'sync' => [
3678
                        'type' => Segment::class,
3726
                        'type' => Segment::class,
3679
                        'options' => [
3727
                        'options' => [
3680
                            'route' => '/sync',
3728
                            'route' => '/sync',