Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16787 Rev 16791
Línea 3390... Línea 3390...
3390
                            ]
3390
                            ]
3391
                        ],
3391
                        ],
3392
                        'may_terminate' => true,
3392
                        'may_terminate' => true,
3393
                        'child_routes' => [
3393
                        'child_routes' => [
3394
                            'add' => [
3394
                            'add' => [
3395
                                'type' => Segment::class,
3395
                                'type' =>  Literal::class,
3396
                                'options' => [
3396
                                'options' => [
3397
                                    'route' => '/add/:job_description_id',
-
 
3398
                                    'constraints' => [
3397
                                    'route' => '/add',
3399
                                        'job_description_id' => '[A-Za-z0-9\-]+\=*'
-
 
3400
                                    ],
-
 
3401
                                    'defaults' => [
3398
                                    'defaults' => [
3402
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3399
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3403
                                        'action' => 'add'
3400
                                        'action' => 'add'
3404
                                    ]
3401
                                    ]
3405
                                ]
3402
                                ]
Línea 3428... Línea 3425...
3428
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3425
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3429
                                        'action' => 'delete'
3426
                                        'action' => 'delete'
3430
                                    ]
3427
                                    ]
3431
                                ]
3428
                                ]
3432
                            ],
3429
                            ],
3433
                            'subordinates' => [
3430
                            'boss' => [
3434
                                'type' => Segment::class,
3431
                                'type' => Literal::class,
3435
                                'options' => [
3432
                                'options' => [
3436
                                    'route' => '/subordinates/:id',
3433
                                    'route' => '/boss',
3437
                                    'constraints' => [
-
 
3438
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
3439
                                    ],
-
 
3440
                                    'defaults' => [
3434
                                    'defaults' => [
3441
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3435
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3442
                                        'action' => 'subordinates'
3436
                                        'action' => 'boss'
3443
                                    ]
3437
                                    ]
3444
                                ],
3438
                                ]
3445
                                'may_terminate' => true,
-
 
3446
                                'child_routes' => [
-
 
3447
                                ],    
-
 
3448
                            ],
3439
                            ],
3449
                        ]
3440
                        ]
3450
                    ],
3441
                    ],
3451
                ]  
3442
                ]  
3452
            ],
3443
            ],