Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3146 Rev 3262
Línea 431... Línea 431...
431
            'notifications' => [
431
            'notifications' => [
432
                'type' => Literal::class,
432
                'type' => Literal::class,
433
                'options' => [
433
                'options' => [
434
                    'route' => '/notifications',
434
                    'route' => '/notifications',
435
                    'defaults' => [
435
                    'defaults' => [
436
                        'controller' => '\LeadersLinked\Controller\HomeController',
436
                        'controller' => '\LeadersLinked\Controller\NotificationController',
437
                        'action' => 'notifications'
-
 
438
                    ]
-
 
439
                ]
-
 
440
            ],
-
 
441
            'markRead' => [
-
 
442
                'type' => Literal::class,
-
 
443
                'options' => [
-
 
444
                    'route' => '/notifications/markRead',
-
 
445
                    'defaults' => [
-
 
446
                        'controller' => '\LeadersLinked\Controller\HomeController',
-
 
447
                        'action' => 'markRead'
437
                        'action' => 'index'
448
                    ]
-
 
449
                ]
-
 
450
            ],
-
 
451
            'lastNotifications' => [
-
 
452
                'type' => Literal::class,
-
 
453
                'options' => [
-
 
454
                    'route' => '/notifications/lastNotifications',
-
 
455
                    'defaults' => [
-
 
456
                        'controller' => '\LeadersLinked\Controller\HomeController',
-
 
457
                        'action' => 'lastNotifications'
-
 
458
                    ]
438
                    ]
-
 
439
                ],
-
 
440
                'may_terminate' => true,
-
 
441
                'child_routes' => [
-
 
442
                    'mark-read' => [
-
 
443
                        'type' => Segment::class,
-
 
444
                        'options' => [
-
 
445
                            'route' => '/mark-read/:id',
-
 
446
                            'constraints' => [
-
 
447
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
448
                            ],
-
 
449
                            'defaults' => [
-
 
450
                                'controller' => '\LeadersLinked\Controller\NotificationController',
-
 
451
                                'action' => 'markRead'
-
 
452
                            ]
-
 
453
                        ]
-
 
454
                    ],
-
 
455
                    'mark-all-read' => [
-
 
456
                        'type' => Literal::class,
-
 
457
                        'options' => [
-
 
458
                            'route' => '/mark-all-read',
-
 
459
                            'defaults' => [
-
 
460
                                'controller' => '\LeadersLinked\Controller\NotificationController',
-
 
461
                                'action' => 'markAllRead'
-
 
462
                            ]
-
 
463
                        ]
-
 
464
                    ],
-
 
465
                    'delete' => [
-
 
466
                        'type' => Segment::class,
-
 
467
                        'options' => [
-
 
468
                            'route' => '/delete/:id',
-
 
469
                            'constraints' => [
-
 
470
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
471
                            ],
-
 
472
                            'defaults' => [
-
 
473
                                'controller' => '\LeadersLinked\Controller\NotificationController',
-
 
474
                                'action' => 'delete'
-
 
475
                            ]
-
 
476
                        ]
-
 
477
                    ],
-
 
478
                    'clear' => [
-
 
479
                        'type' => Literal::class,
-
 
480
                        'options' => [
-
 
481
                            'route' => '/clear',
-
 
482
                            'defaults' => [
-
 
483
                                'controller' => '\LeadersLinked\Controller\NotificationController',
-
 
484
                                'action' => 'clear'
-
 
485
                            ]
-
 
486
                        ]
-
 
487
                    ],
-
 
488
                    'unreads' => [
-
 
489
                        'type' => Literal::class,
-
 
490
                        'options' => [
-
 
491
                            'route' => '/unreads',
-
 
492
                            'defaults' => [
-
 
493
                                'controller' => '\LeadersLinked\Controller\NotificationController',
-
 
494
                                'action' => 'unreads'
-
 
495
                            ]
-
 
496
                        ]
-
 
497
                    ],
459
                ]
498
                ]    
460
            ],
499
            ],
-
 
500
           
461
            'backend' => [
501
            'backend' => [
462
                'type' => Literal::class,
502
                'type' => Literal::class,
463
                'options' => [
503
                'options' => [
464
                    'route' => '/backend',
504
                    'route' => '/backend',
465
                    'defaults' => [
505
                    'defaults' => [
Línea 2936... Línea 2976...
2936
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
2976
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
2937
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
2977
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
2938
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
2978
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
2939
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
2979
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
2940
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
2980
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
-
 
2981
            \LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
2941
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
2982
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
2942
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
2983
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
2943
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
2984
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
2944
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
2985
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
2945
            \LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
2986
            \LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
Línea 2972... Línea 3013...
2972
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
3013
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
2973
            '\LeadersLinked\Controller\ProfileMicrolearningController' => \LeadersLinked\Controller\ProfileMicrolearningController::class,
3014
            '\LeadersLinked\Controller\ProfileMicrolearningController' => \LeadersLinked\Controller\ProfileMicrolearningController::class,
2974
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
3015
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
2975
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
3016
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
2976
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
3017
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
-
 
3018
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
2977
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
3019
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
2978
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
3020
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
2979
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
3021
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
2980
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
3022
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
2981
            '\LeadersLinked\Controller\ServiceCapsuleCommentsController' => \LeadersLinked\Controller\ServiceCapsuleCommentsController::class,
3023
            '\LeadersLinked\Controller\ServiceCapsuleCommentsController' => \LeadersLinked\Controller\ServiceCapsuleCommentsController::class,