Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 2235 Rev 2238
Línea 2914... Línea 2914...
2914
                        'action' => 'index'
2914
                        'action' => 'index'
2915
                    ]
2915
                    ]
2916
                ],
2916
                ],
2917
                'may_terminate' => true,
2917
                'may_terminate' => true,
2918
                'child_routes' => [
2918
                'child_routes' => [
2919
                    'add' => [
2919
                    'objectives' => [
2920
                        'type' => Literal::class,
2920
                        'type' => Literal::class,
2921
                        'options' => [
2921
                        'options' => [
2922
                            'route' => '/add',
2922
                            'route' => '/objectives',
2923
                            'defaults' => [
2923
                            'defaults' => [
2924
                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
2924
                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
2925
                                'action' => 'add'
2925
                                'action' => 'index'
2926
                            ]
2926
                            ]
2927
                        ]
2927
                        ]
2928
                    ],
2928
                    ],
2929
                    'edit' => [
2929
                    'may_terminate' => true,
2930
                        'type' => Segment::class,
2930
                    'child_routes' => [
2931
                        'options' => [
2931
                        'add' => [
2932
                            'route' => '/edit/:id',
2932
                            'type' => Literal::class,
2933
                            'constraints' => [
2933
                            'options' => [
2934
                                'id' => '[A-Za-z0-9\-]+\=*'
2934
                                'route' => '/add',
2935
                            ],
-
 
2936
                            'defaults' => [
2935
                                'defaults' => [
2937
                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
2936
                                    'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
2938
                                'action' => 'edit'
2937
                                    'action' => 'add'
-
 
2938
                                ]
2939
                            ]
2939
                            ]
2940
                        ]
2940
                        ],
-
 
2941
                        'edit' => [
-
 
2942
                            'type' => Segment::class,
-
 
2943
                            'options' => [
-
 
2944
                                'route' => '/edit/:id',
-
 
2945
                                'constraints' => [
-
 
2946
                                    'id' => '[A-Za-z0-9\-]+\=*'
-
 
2947
                                ],
-
 
2948
                                'defaults' => [
-
 
2949
                                    'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
-
 
2950
                                    'action' => 'edit'
-
 
2951
                                ]
-
 
2952
                            ]
2941
                    ],
2953
                        ],
2942
                    'delete' => [
2954
                        'delete' => [
2943
                        'type' => Segment::class,
2955
                            'type' => Segment::class,
2944
                        'options' => [
2956
                            'options' => [
2945
                            'route' => '/delete/:id',
2957
                                'route' => '/delete/:id',
2946
                            'constraints' => [
2958
                                'constraints' => [
2947
                                'id' => '[A-Za-z0-9\-]+\=*'
2959
                                    'id' => '[A-Za-z0-9\-]+\=*'
2948
                            ],
2960
                                ],
2949
                            'defaults' => [
2961
                                'defaults' => [
2950
                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
2962
                                    'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
2951
                                'action' => 'delete'
2963
                                    'action' => 'delete'
-
 
2964
                                ]
2952
                            ]
2965
                            ]
2953
                        ]
2966
                        ]
2954
                    ]
2967
                    ],
-
 
2968
                    
Línea 2955... Línea 2969...
2955
 
2969
 
2956
                ]
2970
                ]
Línea 2957... Línea 2971...
2957
            ],
2971
            ],