Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 235 Rev 242
Línea 270... Línea 270...
270
                        'action' => 'view'
270
                        'action' => 'view'
271
                    ]
271
                    ]
272
                ],
272
                ],
273
                'may_terminate' => true,
273
                'may_terminate' => true,
274
                'child_routes' => [
274
                'child_routes' => [
-
 
275
                    'reactions' => [
-
 
276
                        'type' => Segment::class,
-
 
277
                        'options' => [
-
 
278
                            'route' => '/reactions',
-
 
279
                            'defaults' => [
-
 
280
                                'controller' => '\LeadersLinked\Controller\PostController',
-
 
281
                                'action' => 'reactions'
-
 
282
                            ]
-
 
283
                        ]
-
 
284
                    ],
275
                    'comments' => [
285
                    'comments' => [
276
                        'type' => Segment::class,
286
                        'type' => Segment::class,
277
                        'options' => [
287
                        'options' => [
278
                            'route' => '/comments',
288
                            'route' => '/comments',
279
                            'defaults' => [
289
                            'defaults' => [
Línea 536... Línea 546...
536
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
546
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
537
                                        'action' => 'addQuestion'
547
                                        'action' => 'addQuestion'
538
                                    ],
548
                                    ],
539
                                ],
549
                                ],
540
                            ],
550
                            ],
-
 
551
                            'reactions' => [
-
 
552
                                'type' => Segment::class,
-
 
553
                                'options' => [
-
 
554
                                    'route' => '/reactions/:id',
-
 
555
                                    'constraints' => [
-
 
556
                                        'id' => '[A-Za-z0-9\-]+\=*',
-
 
557
                                    ],
-
 
558
                                    'defaults' => [
-
 
559
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
-
 
560
                                        'action' => 'reactions'
-
 
561
                                    ]
-
 
562
                                ]
-
 
563
                            ],
541
                            'view' => [
564
                            'view' => [
542
                                'type' => Segment::class,
565
                                'type' => Segment::class,
543
                                'options' => [
566
                                'options' => [
544
                                    'route' => '/view/:id',
567
                                    'route' => '/view/:id',
545
                                    'constraints' => [
568
                                    'constraints' => [
Línea 584... Línea 607...
584
                                    'constraints' => [
607
                                    'constraints' => [
585
                                        'id' => '[A-Za-z0-9\-]+\=*',
608
                                        'id' => '[A-Za-z0-9\-]+\=*',
586
                                    ],
609
                                    ],
587
                                    'defaults' => [
610
                                    'defaults' => [
588
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
611
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
589
                                        'action' => 'reactions'
612
                                        'action' => 'reaction'
590
                                    ]
613
                                    ]
591
                                ],
614
                                ],
592
                                'may_terminate' => true,
615
                                'may_terminate' => true,
593
                                'child_routes' => [
616
                                'child_routes' => [
594
                                    'save' => [
617
                                    'save' => [
Línea 769... Línea 792...
769
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
792
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
770
                                'action' => 'view'
793
                                'action' => 'view'
771
                            ]
794
                            ]
772
                        ]
795
                        ]
773
                    ],
796
                    ],
-
 
797
                    'reactions' => [
-
 
798
                        'type' => Segment::class,
-
 
799
                        'options' => [
-
 
800
                            'route' => '/reactions/:id',
-
 
801
                            'constraints' => [
-
 
802
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
803
                            ],
-
 
804
                            'defaults' => [
-
 
805
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
-
 
806
                                'action' => 'reactions'
-
 
807
                            ]
-
 
808
                        ]
-
 
809
                    ],
774
                    'comments' => [
810
                    'comments' => [
775
                        'type' => Segment::class,
811
                        'type' => Segment::class,
776
                        'options' => [
812
                        'options' => [
777
                            'route' => '/comments/:id',
813
                            'route' => '/comments/:id',
778
                            'constraints' => [
814
                            'constraints' => [