Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7261 Rev 7295
Línea 3408... Línea 3408...
3408
                    'add' => [
3408
                    'add' => [
3409
                        'type' => Segment::class,
3409
                        'type' => Segment::class,
3410
                        'options' => [
3410
                        'options' => [
3411
                            'route' => '/add',
3411
                            'route' => '/add',
3412
                            'defaults' => [
3412
                            'defaults' => [
3413
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerController',
3413
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
3414
                                'action' => 'add'
3414
                                'action' => 'add'
3415
                            ],
3415
                            ],
3416
                        ],
3416
                        ],
3417
                    ],
3417
                    ],
3418
                    'edit' => [
3418
                    'edit' => [
3419
                        'type' => Segment::class,
3419
                        'type' => Segment::class,
3420
                        'options' => [
3420
                        'options' => [
3421
                            'route' => '/edit/:id',
3421
                            'route' => '/edit/:id',
3422
                            'defaults' => [
3422
                            'defaults' => [
3423
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerController',
3423
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
3424
                                'action' => 'edit'
3424
                                'action' => 'edit'
3425
                            ],
3425
                            ],
3426
                        ],
3426
                        ],
3427
                    ],
3427
                    ],
3428
                    'delete' => [
3428
                    'delete' => [
3429
                        'type' => Segment::class,
3429
                        'type' => Segment::class,
3430
                        'options' => [
3430
                        'options' => [
3431
                            'route' => '/delete/:id',
3431
                            'route' => '/delete/:id',
3432
                            'defaults' => [
3432
                            'defaults' => [
3433
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerController',
3433
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
3434
                                'action' => 'delete'
3434
                                'action' => 'delete'
3435
                            ],
3435
                            ],
3436
                        ],
3436
                        ],
3437
                    ],
3437
                    ],
3438
                    'segment' => [
3438
                    'segment' => [
3439
                        'type' => Segment::class,
3439
                        'type' => Segment::class,
3440
                        'options' => [
3440
                        'options' => [
3441
                            'route' => '/segment/:id',
3441
                            'route' => '/segment/:id',
3442
                            'defaults' => [
3442
                            'defaults' => [
3443
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerController',
3443
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
3444
                                'action' => 'segment'
3444
                                'action' => 'segment'
3445
                            ],
3445
                            ],
3446
                        ],
3446
                        ],
3447
                    ],
3447
                    ],
3448
                    'form' => [
3448
                    'form' => [
3449
                        'type' => Segment::class,
3449
                        'type' => Segment::class,
3450
                        'options' => [
3450
                        'options' => [
3451
                            'route' => '/form',
3451
                            'route' => '/form',
3452
                            'defaults' => [
3452
                            'defaults' => [
3453
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerFormController',
3453
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
3454
                                'action' => 'index',
3454
                                'action' => 'index',
3455
                            ],
3455
                            ],
3456
                        ],
3456
                        ],
3457
                        'may_terminate' => true,
3457
                        'may_terminate' => true,
3458
                        'child_routes' => [
3458
                        'child_routes' => [
3459
                            'add' => [
3459
                            'add' => [
3460
                                'type' => Segment::class,
3460
                                'type' => Segment::class,
3461
                                'options' => [
3461
                                'options' => [
3462
                                    'route' => '/add',
3462
                                    'route' => '/add',
3463
                                    'defaults' => [
3463
                                    'defaults' => [
3464
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerFormController',
3464
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
3465
                                        'action' => 'add'
3465
                                        'action' => 'add'
3466
                                    ],
3466
                                    ],
3467
                                ],
3467
                                ],
3468
                            ],
3468
                            ],
3469
                            'edit' => [
3469
                            'edit' => [
Línea 3472... Línea 3472...
3472
                                    'route' => '/edit/:id',
3472
                                    'route' => '/edit/:id',
3473
                                    'constraints' => [
3473
                                    'constraints' => [
3474
                                        'id' => '[A-Za-z0-9\-]+\=*'
3474
                                        'id' => '[A-Za-z0-9\-]+\=*'
3475
                                    ],
3475
                                    ],
3476
                                    'defaults' => [
3476
                                    'defaults' => [
3477
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerFormController',
3477
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
3478
                                        'action' => 'edit'
3478
                                        'action' => 'edit'
3479
                                    ]
3479
                                    ]
3480
                                ]
3480
                                ]
3481
                            ],
3481
                            ],
3482
                            'delete' => [
3482
                            'delete' => [
Línea 3485... Línea 3485...
3485
                                    'route' => '/delete/:id',
3485
                                    'route' => '/delete/:id',
3486
                                    'constraints' => [
3486
                                    'constraints' => [
3487
                                        'id' => '[A-Za-z0-9\-]+\=*'
3487
                                        'id' => '[A-Za-z0-9\-]+\=*'
3488
                                    ],
3488
                                    ],
3489
                                    'defaults' => [
3489
                                    'defaults' => [
3490
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerFormController',
3490
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
3491
                                        'action' => 'delete'
3491
                                        'action' => 'delete'
3492
                                    ]
3492
                                    ]
3493
                                ]
3493
                                ]
3494
                            ]
3494
                            ]
3495
                        ],
3495
                        ],
Línea 3500... Línea 3500...
3500
                            'route' => '/test[/:survey_id]',
3500
                            'route' => '/test[/:survey_id]',
3501
                            'constraints' => [
3501
                            'constraints' => [
3502
                                'survey_id' => '[A-Za-z0-9\-]+\=*'
3502
                                'survey_id' => '[A-Za-z0-9\-]+\=*'
3503
                            ],
3503
                            ],
3504
                            'defaults' => [
3504
                            'defaults' => [
3505
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerTestController',
3505
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
3506
                                'action' => 'index',
3506
                                'action' => 'index',
3507
                                'survey_id' => '',
3507
                                'survey_id' => '',
3508
                            ],
3508
                            ],
3509
                        ],
3509
                        ],
3510
                        'may_terminate' => true,
3510
                        'may_terminate' => true,
Línea 3512... Línea 3512...
3512
                            'add' => [
3512
                            'add' => [
3513
                                'type' => Segment::class,
3513
                                'type' => Segment::class,
3514
                                'options' => [
3514
                                'options' => [
3515
                                    'route' => '/add',
3515
                                    'route' => '/add',
3516
                                    'defaults' => [
3516
                                    'defaults' => [
3517
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerTestController',
3517
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
3518
                                        'action' => 'add',
3518
                                        'action' => 'add',
3519
                                    ],
3519
                                    ],
3520
                                ],
3520
                                ],
3521
                            ],
3521
                            ],
3522
                            'report' => [
3522
                            'report' => [
3523
                                'type' => Segment::class,
3523
                                'type' => Segment::class,
3524
                                'options' => [
3524
                                'options' => [
3525
                                    'route' => '/report/:uuid',
3525
                                    'route' => '/report/:uuid',
3526
                                    'defaults' => [
3526
                                    'defaults' => [
3527
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerTestController',
3527
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
3528
                                        'action' => 'report',
3528
                                        'action' => 'report',
3529
                                    ],
3529
                                    ],
3530
                                ],
3530
                                ],
3531
                            ],
3531
                            ],
3532
                            'delete' => [
3532
                            'delete' => [
3533
                                'type' => Segment::class,
3533
                                'type' => Segment::class,
3534
                                'options' => [
3534
                                'options' => [
3535
                                    'route' => '/delete/:id',
3535
                                    'route' => '/delete/:id',
3536
                                    'defaults' => [
3536
                                    'defaults' => [
3537
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerTestController',
3537
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
3538
                                        'action' => 'delete'
3538
                                        'action' => 'delete'
3539
                                    ]
3539
                                    ]
3540
                                ]
3540
                                ]
3541
                            ]
3541
                            ]
3542
                        ],
3542
                        ],
Línea 3547... Línea 3547...
3547
                            'route' => '/report[/:survey_id]',
3547
                            'route' => '/report[/:survey_id]',
3548
                            'constraints' => [
3548
                            'constraints' => [
3549
                                'survey_id' => '[A-Za-z0-9\-]+\=*'
3549
                                'survey_id' => '[A-Za-z0-9\-]+\=*'
3550
                            ],
3550
                            ],
3551
                            'defaults' => [
3551
                            'defaults' => [
3552
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerReportController',
3552
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
3553
                                'action' => 'index',
3553
                                'action' => 'index',
3554
                                'survey_id' => '',
3554
                                'survey_id' => '',
3555
                            ],
3555
                            ],
3556
                        ],
3556
                        ],
3557
                        'may_terminate' => true,
3557
                        'may_terminate' => true,
Línea 3559... Línea 3559...
3559
                            'all' => [
3559
                            'all' => [
3560
                                'type' => Segment::class,
3560
                                'type' => Segment::class,
3561
                                'options' => [
3561
                                'options' => [
3562
                                    'route' => '/all',
3562
                                    'route' => '/all',
3563
                                    'defaults' => [
3563
                                    'defaults' => [
3564
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerReportController',
3564
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
3565
                                        'action' => 'all',
3565
                                        'action' => 'all',
3566
                                    ]
3566
                                    ]
3567
                                ]
3567
                                ]
3568
                            ],
3568
                            ],
3569
                            'overview' => [
3569
                            'overview' => [
3570
                                'type' => Segment::class,
3570
                                'type' => Segment::class,
3571
                                'options' => [
3571
                                'options' => [
3572
                                    'route' => '/overview',
3572
                                    'route' => '/overview',
3573
                                    'defaults' => [
3573
                                    'defaults' => [
3574
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerReportController',
3574
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
3575
                                        'action' => 'overview',
3575
                                        'action' => 'overview',
3576
                                    ]
3576
                                    ]
3577
                                ]
3577
                                ]
3578
                            ],
3578
                            ],
3579
                            'csv' => [
3579
                            'csv' => [
3580
                                'type' => Segment::class,
3580
                                'type' => Segment::class,
3581
                                'options' => [
3581
                                'options' => [
3582
                                    'route' => '/csv',
3582
                                    'route' => '/csv',
3583
                                    'defaults' => [
3583
                                    'defaults' => [
3584
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateControllerReportController',
3584
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
3585
                                        'action' => 'csv',
3585
                                        'action' => 'csv',
3586
                                    ]
3586
                                    ]
3587
                                ]
3587
                                ]
3588
                            ],
3588
                            ],
3589
                        ],
3589
                        ],