Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5751 Rev 5765
Línea 297... Línea 297...
297
                                    ]
297
                                    ]
298
                                ]
298
                                ]
299
                            ],
299
                            ],
300
                        ],
300
                        ],
301
                    ],
301
                    ],
302
                    'like' => [
302
                    'save-reaction' => [
303
                        'type' => Segment::class,
303
                        'type' => Segment::class,
304
                        'options' => [
304
                        'options' => [
-
 
305
                            'route' => '/save-reaction/:reaction',
-
 
306
                            'constraints' => [
305
                            'route' => '/like',
307
                                'reaction' => 'r|s|l|i|f',
-
 
308
                            ],
306
                            'defaults' => [
309
                            'defaults' => [
307
                                'controller' => '\LeadersLinked\Controller\PostController',
310
                                'controller' => '\LeadersLinked\Controller\PostController',
308
                                'action' => 'like'
311
                                'action' => 'saveReaction'
309
                            ]
312
                            ]
310
                        ]
313
                        ]
311
                    ],
314
                    ],
-
 
315
                    
312
                    'unlike' => [
316
                    'delete-reaction' => [
313
                        'type' => Segment::class,
317
                        'type' => Segment::class,
314
                        'options' => [
318
                        'options' => [
315
                            'route' => '/unlike',
319
                            'route' => '/delete-reaction',
316
                            'defaults' => [
320
                            'defaults' => [
317
                                'controller' => '\LeadersLinked\Controller\PostController',
321
                                'controller' => '\LeadersLinked\Controller\PostController',
318
                                'action' => 'unlike'
322
                                'action' => 'deleteReaction'
319
                            ]
323
                            ]
320
                        ]
324
                        ]
321
                    ],
325
                    ],
Línea 322... Línea 326...
322
 
326
 
Línea 1246... Línea 1250...
1246
                                'controller' => '\LeadersLinked\Controller\FeedController',
1250
                                'controller' => '\LeadersLinked\Controller\FeedController',
1247
                                'action' => 'share'
1251
                                'action' => 'share'
1248
                            ]
1252
                            ]
1249
                        ]
1253
                        ]
1250
                    ],
1254
                    ],
1251
                    'like' => [
1255
                    'save-reaction' => [
1252
                        'type' => Segment::class,
1256
                        'type' => Segment::class,
1253
                        'options' => [
1257
                        'options' => [
1254
                            'route' => '/like/:id',
1258
                            'route' => '/save-reaction/:id/:reaction',
1255
                            'constraints' => [
1259
                            'constraints' => [
1256
                                'id' => '[A-Za-z0-9\-]+\=*',
1260
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
1261
                                'reaction' => 'r|s|l|i|f',
1257
                            ],
1262
                            ],
1258
                            'defaults' => [
1263
                            'defaults' => [
1259
                                'controller' => '\LeadersLinked\Controller\FeedController',
1264
                                'controller' => '\LeadersLinked\Controller\FeedController',
1260
                                'action' => 'like'
1265
                                'action' => 'saveReaction'
1261
                            ]
1266
                            ]
1262
                        ]
1267
                        ]
1263
                    ],
1268
                    ],
-
 
1269
                    
1264
                    'unlike' => [
1270
                    'delete-reaction' => [
1265
                        'type' => Segment::class,
1271
                        'type' => Segment::class,
1266
                        'options' => [
1272
                        'options' => [
1267
                            'route' => '/unlike/:id',
1273
                            'route' => '/delete-reaction/:id',
1268
                            'constraints' => [
1274
                            'constraints' => [
1269
                                'id' => '[A-Za-z0-9\-]+\=*',
1275
                                'id' => '[A-Za-z0-9\-]+\=*',
1270
                            ],
1276
                            ],
1271
                            'defaults' => [
1277
                            'defaults' => [
1272
                                'controller' => '\LeadersLinked\Controller\FeedController',
1278
                                'controller' => '\LeadersLinked\Controller\FeedController',
1273
                                'action' => 'unlike'
1279
                                'action' => 'deleteReaction'
1274
                            ]
1280
                            ]
1275
                        ]
1281
                        ]
1276
                    ],
1282
                    ],
1277
                    'add' => [
1283
                    'add' => [
1278
                        'type' => Segment::class,
1284
                        'type' => Segment::class,