Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14743 Rev 14875
Línea 2449... Línea 2449...
2449
                                ]
2449
                                ]
2450
                            ],
2450
                            ],
2451
                            'delete' => [
2451
                            'delete' => [
2452
                                'type' => Segment::class,
2452
                                'type' => Segment::class,
2453
                                'options' => [
2453
                                'options' => [
2454
                                    'route' => '/delete/:id/:idComp',
2454
                                    'route' => '/delete/:id',
2455
                                    'constraints' => [
2455
                                    'constraints' => [
2456
                                        'id' => '[A-Za-z0-9\-]+\=*'
2456
                                        'id' => '[A-Za-z0-9\-]+\=*'
2457
                                        ,
-
 
2458
                                        'idComp' => '[A-Za-z0-9\-]+\=*'
-
 
2459
                                    ],
2457
                                    ],
2460
                                    'defaults' => [
2458
                                    'defaults' => [
2461
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2459
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2462
                                        'action' => 'delete'
2460
                                        'action' => 'delete'
2463
                                    ]
2461
                                    ]
2464
                                ]
2462
                                ]
2465
                            ]
2463
                            ],
-
 
2464
                            'import' => [
-
 
2465
                                'type' => Literal::class,
-
 
2466
                                'options' => [
-
 
2467
                                    'route' => '/import',
-
 
2468
                                    'defaults' => [
-
 
2469
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
-
 
2470
                                        'action' => 'import'
-
 
2471
                                    ]
-
 
2472
                                ]
-
 
2473
                            ],
-
 
2474
                            
2466
                        ]
2475
                        ]
2467
                    ],
2476
                    ],
2468
                    'competencies' => [
2477
                    'competencies' => [
2469
                        'type' => Literal::class,
2478
                        'type' => Literal::class,
2470
                        'options' => [
2479
                        'options' => [
Línea 2520... Línea 2529...
2520
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2529
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2521
                                        'action' => 'import'
2530
                                        'action' => 'import'
2522
                                    ]
2531
                                    ]
2523
                                ]
2532
                                ]
2524
                            ],
2533
                            ],
-
 
2534
                            'behaviors' => [
-
 
2535
                                'type' => Segment::class,
-
 
2536
                                'options' => [
-
 
2537
                                    'route' => '/behaviors/:id',
-
 
2538
                                    'constraints' => [
-
 
2539
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
2540
                                    ],
-
 
2541
                                    'defaults' => [
-
 
2542
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
-
 
2543
                                        'action' => 'behaviors'
-
 
2544
                                    ]
-
 
2545
                                ],
-
 
2546
                                'child_routes' => [
-
 
2547
                                    'add' => [
-
 
2548
                                        'type' => Literal::class,
-
 
2549
                                        'options' => [
-
 
2550
                                            'route' => '/add',
-
 
2551
                                            'defaults' => [
-
 
2552
                                                'controller' => '\LeadersLinked\Controller\CompetencyController',
-
 
2553
                                                'action' => 'behaviorAdd'
-
 
2554
                                            ]
-
 
2555
                                        ]
-
 
2556
                                    ],
-
 
2557
                                    'set' => [
-
 
2558
                                        'type' => Segment::class,
-
 
2559
                                        'options' => [
-
 
2560
                                            'route' => '/set/:behavior_id',
-
 
2561
                                            'constraints' => [
-
 
2562
                                                'behavior_id' => '[A-Za-z0-9\-]+\=*'
-
 
2563
                                            ],
-
 
2564
                                            'defaults' => [
-
 
2565
                                                'controller' => '\LeadersLinked\Controller\CompetencyController',
-
 
2566
                                                'action' => 'behaviorSet'
-
 
2567
                                            ]
-
 
2568
                                        ]
-
 
2569
                                    ],
-
 
2570
                                    'unset' => [
-
 
2571
                                        'type' => Segment::class,
-
 
2572
                                        'options' => [
-
 
2573
                                            'route' => '/unset/:behavior_id',
-
 
2574
                                            'constraints' => [
-
 
2575
                                                'behavior_id' => '[A-Za-z0-9\-]+\=*'
-
 
2576
                                            ],
-
 
2577
                                            'defaults' => [
-
 
2578
                                                'controller' => '\LeadersLinked\Controller\CompetencyController',
-
 
2579
                                                'action' => 'behaviorUnset'
-
 
2580
                                            ]
-
 
2581
                                        ]
-
 
2582
                                    ],
-
 
2583
                                ]
-
 
2584
                            ],
2525
                        ]
2585
                        ]
2526
                    ],
2586
                    ],
-
 
2587
                    
2527
                    'degrees' => [
2588
                    'degrees' => [
2528
                        'type' => Literal::class,
2589
                        'type' => Literal::class,
2529
                        'options' => [
2590
                        'options' => [
2530
                            'route' => '/degrees',
2591
                            'route' => '/degrees',
2531
                            'defaults' => [
2592
                            'defaults' => [