Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 2369 Rev 2370
Línea 2974... Línea 2974...
2974
                                    ],
2974
                                    ],
2975
                                    'defaults' => [
2975
                                    'defaults' => [
2976
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
2976
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
2977
                                        'action' => 'index'
2977
                                        'action' => 'index'
2978
                                    ]
2978
                                    ]
2979
                                ]
-
 
2980
                            ],
-
 
2981
                            'may_terminate' => true,
-
 
2982
                            'child_routes' => [
-
 
2983
                                'add' => [
-
 
2984
                                    'type' => Literal::class,
-
 
2985
                                    'options' => [
-
 
2986
                                        'route' => '/add',
-
 
2987
                                        'defaults' => [
-
 
2988
                                            'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
-
 
2989
                                            'action' => 'add'
-
 
2990
                                        ]
-
 
2991
                                    ]
-
 
2992
                                ],
2979
                                ],
-
 
2980
                            
2993
                                'edit' => [
2981
                                'may_terminate' => true,
2994
                                    'type' => Segment::class,
2982
                                'child_routes' => [
2995
                                    'options' => [
2983
                                    'add' => [
2996
                                        'route' => '/edit/:id',
2984
                                        'type' => Literal::class,
2997
                                        'constraints' => [
2985
                                        'options' => [
2998
                                            'id' => '[A-Za-z0-9\-]+\=*'
2986
                                            'route' => '/add',
2999
                                        ],
-
 
3000
                                        'defaults' => [
2987
                                            'defaults' => [
3001
                                            'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
2988
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3002
                                            'action' => 'edit'
2989
                                                'action' => 'add'
-
 
2990
                                            ]
3003
                                        ]
2991
                                        ]
3004
                                    ]
2992
                                    ],
3005
                                ],
-
 
3006
                                'delete' => [
2993
                                    'edit' => [
3007
                                    'type' => Segment::class,
2994
                                        'type' => Segment::class,
3008
                                    'options' => [
2995
                                        'options' => [
3009
                                        'route' => '/delete/:id',
2996
                                            'route' => '/edit/:id',
3010
                                        'constraints' => [
2997
                                            'constraints' => [
3011
                                            'id' => '[A-Za-z0-9\-]+\=*'
2998
                                                'id' => '[A-Za-z0-9\-]+\=*'
3012
                                        ],
2999
                                            ],
3013
                                        'defaults' => [
3000
                                            'defaults' => [
3014
                                            'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3001
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3015
                                            'action' => 'delete'
3002
                                                'action' => 'edit'
-
 
3003
                                            ]
3016
                                        ]
3004
                                        ]
3017
                                    ]
3005
                                    ],
-
 
3006
                                    'delete' => [
-
 
3007
                                        'type' => Segment::class,
-
 
3008
                                        'options' => [
-
 
3009
                                            'route' => '/delete/:id',
-
 
3010
                                            'constraints' => [
-
 
3011
                                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
3012
                                            ],
-
 
3013
                                            'defaults' => [
-
 
3014
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
-
 
3015
                                                'action' => 'delete'
-
 
3016
                                            ]
-
 
3017
                                        ]
3018
                                ],
3018
                                    ],
3019
                            ]
3019
                            ]
3020
 
-
 
-
 
3020
                        ],
3021
                        ]
3021
                        ]
3022
                    ]
3022
                    ]
Línea 3023... Línea 3023...
3023
                    
3023
                    
3024
                ]
3024
                ]