Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7838 Rev 7902
Línea 2138... Línea 2138...
2138
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2138
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2139
                                        'action' => 'add'
2139
                                        'action' => 'add'
2140
                                    ]
2140
                                    ]
2141
                                ]
2141
                                ]
2142
                            ],
2142
                            ],
2143
                            'edit' => [
2143
                            'delete' => [
2144
                                'type' => Segment::class,
2144
                                'type' => Segment::class,
2145
                                'options' => [
2145
                                'options' => [
2146
                                    'route' => '/edit/:id',
2146
                                    'route' => '/delete/:id',
2147
                                    'constraints' => [
2147
                                    'constraints' => [
2148
                                        'id' => '[A-Za-z0-9\-]+\=*',
2148
                                        'id' => '[A-Za-z0-9\-]+\=*',
2149
                                    ],
2149
                                    ],
2150
                                    'defaults' => [
2150
                                    'defaults' => [
2151
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2151
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2152
                                        'action' => 'edit'
2152
                                        'action' => 'delete'
2153
                                    ]
2153
                                    ]
2154
                                ]
2154
                                ]
2155
                            ],
2155
                            ],
2156
                            'delete' => [
2156
                            'self' => [
2157
                                'type' => Segment::class,
2157
                                'type' => Literal::class,
2158
                                'options' => [
2158
                                'options' => [
2159
                                    'route' => '/delete/:id',
2159
                                    'route' => '/self',
2160
                                    'constraints' => [
-
 
2161
                                        'id' => '[A-Za-z0-9\-]+\=*',
-
 
2162
                                    ],
-
 
2163
                                    'defaults' => [
2160
                                    'defaults' => [
2164
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2161
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2165
                                        'action' => 'delete'
2162
                                        'action' => 'self'
-
 
2163
                                    ]
-
 
2164
                                ]
-
 
2165
                            ],
-
 
2166
                            'both' => [
-
 
2167
                                'type' => Literal::class,
-
 
2168
                                'options' => [
-
 
2169
                                    'route' => '/both',
-
 
2170
                                    'defaults' => [
-
 
2171
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
-
 
2172
                                        'action' => 'both'
2166
                                    ]
2173
                                    ]
2167
                                ]
2174
                                ]
2168
                            ],
2175
                            ],
2169
                            'users' => [
2176
                            'superviser' => [
2170
                                'type' => Literal::class,
2177
                                'type' => Literal::class,
2171
                                'options' => [
2178
                                'options' => [
2172
                                    'route' => '/users',
2179
                                    'route' => '/superviser',
2173
                                    'defaults' => [
2180
                                    'defaults' => [
2174
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2181
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2175
                                        'action' => 'users'
2182
                                        'action' => 'superviser'
2176
                                    ]
2183
                                    ]
2177
                                ]
2184
                                ]
2178
                            ],
2185
                            ],
2179
                        
2186
 
Línea 2180... Línea 2187...
2180
                 
2187
                 
2181
                           
2188
                           
2182
                        ]
2189
                        ]