Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 982 Rev 986
Línea 2164... Línea 2164...
2164
                                    'route' => '/edit/:id',
2164
                                    'route' => '/edit/:id',
2165
                                    'constraints' => [
2165
                                    'constraints' => [
2166
                                        'id' => '[A-Za-z0-9\-]+\=*'
2166
                                        'id' => '[A-Za-z0-9\-]+\=*'
2167
                                    ],
2167
                                    ],
2168
                                    'defaults' => [
2168
                                    'defaults' => [
2169
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
2169
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
2170
                                        'action' => 'edit'
2170
                                        'action' => 'edit'
2171
                                    ]
2171
                                    ]
2172
                                ]
2172
                                ]
2173
                            ],
2173
                            ],
2174
                            'delete' => [
2174
                            'delete' => [
Línea 2177... Línea 2177...
2177
                                    'route' => '/delete/:id',
2177
                                    'route' => '/delete/:id',
2178
                                    'constraints' => [
2178
                                    'constraints' => [
2179
                                        'id' => '[A-Za-z0-9\-]+\=*'
2179
                                        'id' => '[A-Za-z0-9\-]+\=*'
2180
                                    ],
2180
                                    ],
2181
                                    'defaults' => [
2181
                                    'defaults' => [
2182
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
2182
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
2183
                                        'action' => 'delete'
2183
                                        'action' => 'delete'
2184
                                    ]
2184
                                    ]
2185
                                ]
2185
                                ]
2186
                            ]
2186
                            ]
2187
                        ]
2187
                        ]
Línea 2190... Línea 2190...
2190
                    'users' => [
2190
                    'users' => [
2191
                        'type' => Literal::class,
2191
                        'type' => Literal::class,
2192
                        'options' => [
2192
                        'options' => [
2193
                            'route' => '/users',
2193
                            'route' => '/users',
2194
                            'defaults' => [
2194
                            'defaults' => [
2195
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2195
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormUserController',
2196
                                'action' => 'index'
2196
                                'action' => 'index'
2197
                            ]
2197
                            ]
2198
                        ],
2198
                        ],
2199
                        'may_terminate' => true,
2199
                        'may_terminate' => true,
2200
                        'child_routes' => [
2200
                        'child_routes' => [
Línea 2205... Línea 2205...
2205
                                    'constraints' => [
2205
                                    'constraints' => [
2206
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2206
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2207
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2207
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2208
                                    ],
2208
                                    ],
2209
                                    'defaults' => [
2209
                                    'defaults' => [
2210
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2210
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormUserController',
2211
                                        'action' => 'add'
2211
                                        'action' => 'add'
2212
                                    ]
2212
                                    ]
2213
                                ]
2213
                                ]
2214
                            ],
2214
                            ],
2215
                            'delete' => [
2215
                            'delete' => [
Línea 2219... Línea 2219...
2219
                                    'constraints' => [
2219
                                    'constraints' => [
2220
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2220
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2221
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2221
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2222
                                    ],
2222
                                    ],
2223
                                    'defaults' => [
2223
                                    'defaults' => [
2224
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2224
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormUserController',
2225
                                        'action' => 'delete'
2225
                                        'action' => 'delete'
2226
                                    ]
2226
                                    ]
2227
                                ]
2227
                                ]
2228
                            ]
2228
                            ]
2229
                        ]
2229
                        ]