Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 8402 Rev 8462
Línea 4132... Línea 4132...
4132
                        'action' => 'index'
4132
                        'action' => 'index'
4133
                    ]
4133
                    ]
4134
                ],
4134
                ],
4135
                'may_terminate' => true,
4135
                'may_terminate' => true,
4136
                'child_routes' => [
4136
                'child_routes' => [
-
 
4137
                    'category' => [
-
 
4138
                        'type' => Literal::class,
-
 
4139
                        'options' => [
-
 
4140
                            'route' => '/category',
-
 
4141
                            'defaults' => [
-
 
4142
                                'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4143
                                'action' => 'index'
-
 
4144
                            ]
-
 
4145
                        ],
-
 
4146
                        'may_terminate' => true,
-
 
4147
                        'child_routes' => [
-
 
4148
                            'add' => [
-
 
4149
                                'type' => Literal::class,
-
 
4150
                                'options' => [
-
 
4151
                                    'route' => '/add',
-
 
4152
                                    'defaults' => [
-
 
4153
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4154
                                        'action' => 'add'
-
 
4155
                                    ]
-
 
4156
                                ]
-
 
4157
                            ],
-
 
4158
                            'edit' => [
-
 
4159
                                'type' => Segment::class,
-
 
4160
                                'options' => [
-
 
4161
                                    'route' => '/edit/:id',
-
 
4162
                                    'constraints' => [
-
 
4163
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4164
                                    ],
-
 
4165
                                    'defaults' => [
-
 
4166
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4167
                                        'action' => 'edit'
-
 
4168
                                    ]
-
 
4169
                                ]
-
 
4170
                            ],
-
 
4171
                            'delete' => [
-
 
4172
                                'type' => Segment::class,
-
 
4173
                                'options' => [
-
 
4174
                                    'route' => '/delete/:id',
-
 
4175
                                    'constraints' => [
-
 
4176
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4177
                                    ],
-
 
4178
                                    'defaults' => [
-
 
4179
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4180
                                        'action' => 'delete'
-
 
4181
                                    ]
-
 
4182
                                ]
-
 
4183
                            ]
-
 
4184
                        ]
-
 
4185
                    ],
-
 
4186
                    'question' => [
-
 
4187
                        'type' => Literal::class,
-
 
4188
                        'options' => [
-
 
4189
                            'route' => '/question',
-
 
4190
                            'defaults' => [
-
 
4191
                                'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4192
                                'action' => 'index'
-
 
4193
                            ]
-
 
4194
                        ],
-
 
4195
                        'may_terminate' => true,
-
 
4196
                        'child_routes' => [
-
 
4197
                            'add' => [
-
 
4198
                                'type' => Literal::class,
-
 
4199
                                'options' => [
-
 
4200
                                    'route' => '/add',
-
 
4201
                                    'defaults' => [
-
 
4202
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4203
                                        'action' => 'add'
-
 
4204
                                    ]
-
 
4205
                                ]
-
 
4206
                            ],
-
 
4207
                            'edit' => [
-
 
4208
                                'type' => Segment::class,
-
 
4209
                                'options' => [
-
 
4210
                                    'route' => '/edit/:id',
-
 
4211
                                    'constraints' => [
-
 
4212
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4213
                                    ],
-
 
4214
                                    'defaults' => [
-
 
4215
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4216
                                        'action' => 'edit'
-
 
4217
                                    ]
-
 
4218
                                ]
-
 
4219
                            ],
-
 
4220
                            'delete' => [
-
 
4221
                                'type' => Segment::class,
-
 
4222
                                'options' => [
-
 
4223
                                    'route' => '/delete/:id',
-
 
4224
                                    'constraints' => [
-
 
4225
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4226
                                    ],
-
 
4227
                                    'defaults' => [
-
 
4228
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4229
                                        'action' => 'delete'
-
 
4230
                                    ]
-
 
4231
                                ]
-
 
4232
                            ]
-
 
4233
                        ]
-
 
4234
                    ],
-
 
4235
                    'answer' => [
-
 
4236
                        'type' => Literal::class,
-
 
4237
                        'options' => [
-
 
4238
                            'route' => '/answer',
-
 
4239
                            'defaults' => [
-
 
4240
                                'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4241
                                'action' => 'index'
-
 
4242
                            ]
-
 
4243
                        ],
-
 
4244
                        'may_terminate' => true,
-
 
4245
                        'child_routes' => [
-
 
4246
                            'add' => [
-
 
4247
                                'type' => Literal::class,
-
 
4248
                                'options' => [
-
 
4249
                                    'route' => '/add',
-
 
4250
                                    'defaults' => [
-
 
4251
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4252
                                        'action' => 'add'
-
 
4253
                                    ]
-
 
4254
                                ]
-
 
4255
                            ],
-
 
4256
                            'edit' => [
-
 
4257
                                'type' => Segment::class,
-
 
4258
                                'options' => [
-
 
4259
                                    'route' => '/edit/:id',
-
 
4260
                                    'constraints' => [
-
 
4261
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4262
                                    ],
-
 
4263
                                    'defaults' => [
-
 
4264
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4265
                                        'action' => 'edit'
-
 
4266
                                    ]
-
 
4267
                                ]
-
 
4268
                            ],
-
 
4269
                            'delete' => [
-
 
4270
                                'type' => Segment::class,
-
 
4271
                                'options' => [
-
 
4272
                                    'route' => '/delete/:id',
-
 
4273
                                    'constraints' => [
-
 
4274
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4275
                                    ],
-
 
4276
                                    'defaults' => [
-
 
4277
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
-
 
4278
                                        'action' => 'delete'
-
 
4279
                                    ]
-
 
4280
                                ]
-
 
4281
                            ]
-
 
4282
                        ]
-
 
4283
                    ],
4137
                ]
4284
                ]
4138
            ],
4285
            ],
Línea 4139... Línea 4286...
4139
            
4286
            
4140
        ]
4287
        ]