Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6945 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6945 Rev 7094
Línea 299... Línea 299...
299
                        ],
299
                        ],
300
                    ],
300
                    ],
301
                    'save-reaction' => [
301
                    'save-reaction' => [
302
                        'type' => Segment::class,
302
                        'type' => Segment::class,
303
                        'options' => [
303
                        'options' => [
304
                            'route' => '/save-reaction/:reaction',
304
                            'route' => '/save-reaction',
305
                            'constraints' => [
-
 
306
                                'reaction' => 'r|s|l|i|f',
-
 
307
                            ],
-
 
308
                            'defaults' => [
305
                            'defaults' => [
309
                                'controller' => '\LeadersLinked\Controller\PostController',
306
                                'controller' => '\LeadersLinked\Controller\PostController',
310
                                'action' => 'saveReaction'
307
                                'action' => 'saveReaction'
311
                            ]
308
                            ]
312
                        ]
309
                        ]
Línea 1575... Línea 1572...
1575
                        ]
1572
                        ]
1576
                    ],
1573
                    ],
1577
                    'save-reaction' => [
1574
                    'save-reaction' => [
1578
                        'type' => Segment::class,
1575
                        'type' => Segment::class,
1579
                        'options' => [
1576
                        'options' => [
1580
                            'route' => '/save-reaction/:id/:reaction',
1577
                            'route' => '/save-reaction/:id',
1581
                            'constraints' => [
1578
                            'constraints' => [
1582
                                'id' => '[A-Za-z0-9\-]+\=*',
1579
                                'id' => '[A-Za-z0-9\-]+\=*',
1583
                                'reaction' => 'r|s|l|i|f',
-
 
1584
                            ],
1580
                            ],
1585
                            'defaults' => [
1581
                            'defaults' => [
1586
                                'controller' => '\LeadersLinked\Controller\FeedController',
1582
                                'controller' => '\LeadersLinked\Controller\FeedController',
1587
                                'action' => 'saveReaction'
1583
                                'action' => 'saveReaction'
1588
                            ]
1584
                            ]