Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 8529 Rev 8536
Línea 71... Línea 71...
71
                ]
71
                ]
72
            ],
72
            ],
73
            'storage' => [
73
            'storage' => [
74
                'type' => Segment::class,
74
                'type' => Segment::class,
75
                'options' => [
75
                'options' => [
76
                    'route' => '/storage/type/:type[/code/:code][/filename/:filename]',
76
                    'route' => '/storage/type/:type[/code/:code][/code2/:code2][/filename/:filename]',
77
                    'constraints' => [
77
                    'constraints' => [
78
                        'type' => 'user|user-profile|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|post-type|microlearning-topic|microlearning-capsule|microlearning-slide|recruitment_selection',
78
                        'type' => 'user|user-profile|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|post-type|microlearning-topic|microlearning-capsule|microlearning-slide|recruitment-selection',
79
                        'code' => '[A-Za-z0-9\-]+\=*',
79
                        'code' => '[A-Za-z0-9\-]+\=*',
-
 
80
                        'code2' => '[A-Za-z0-9\-]+\=*',
80
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
81
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
81
                    ],
82
                    ],
82
                    'defaults' => [
83
                    'defaults' => [
83
                        'controller' => '\LeadersLinked\Controller\StorageController',
84
                        'controller' => '\LeadersLinked\Controller\StorageController',
84
                        'action' => 'download'
85
                        'action' => 'download'
Línea 3085... Línea 3086...
3085
                            'goals' => [
3086
                            'goals' => [
3086
                                'type' => Segment::class,
3087
                                'type' => Segment::class,
3087
                                'options' => [
3088
                                'options' => [
3088
                                    'route' => '/:uuid_objective/goals',
3089
                                    'route' => '/:uuid_objective/goals',
3089
                                    'constraints' => [
3090
                                    'constraints' => [
3090
                                        'id' => '[A-Za-z0-9\-]+\=*'
3091
                                        'uuid_objective' => '[A-Za-z0-9\-]+\=*'
3091
                                    ],
3092
                                    ],
3092
                                    'defaults' => [
3093
                                    'defaults' => [
3093
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3094
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3094
                                        'action' => 'index'
3095
                                        'action' => 'index'
3095
                                    ]
3096
                                    ]
Línea 3134... Línea 3135...
3134
                                        ]
3135
                                        ]
3135
                                    ],
3136
                                    ],
3136
                                    'task' => [
3137
                                    'task' => [
3137
                                        'type' => Segment::class,
3138
                                        'type' => Segment::class,
3138
                                        'options' => [
3139
                                        'options' => [
3139
                                            'route' => '/:uuid_goals/task',
3140
                                            'route' => '/:uuid_goal/task',
3140
                                            'constraints' => [
3141
                                            'constraints' => [
3141
                                                'id' => '[A-Za-z0-9\-]+\=*'
3142
                                                'uuid_goal' => '[A-Za-z0-9\-]+\=*'
3142
                                            ],
3143
                                            ],
3143
                                            'defaults' => [
3144
                                            'defaults' => [
3144
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3145
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3145
                                                'action' => 'index'
3146
                                                'action' => 'index'
3146
                                            ]
3147
                                            ]
Línea 3520... Línea 3521...
3520
                    ],
3521
                    ],
3521
                    'segment' => [
3522
                    'segment' => [
3522
                        'type' => Segment::class,
3523
                        'type' => Segment::class,
3523
                        'options' => [
3524
                        'options' => [
3524
                            'route' => '/segment/:id',
3525
                            'route' => '/segment/:id',
-
 
3526
                            'constraints' => [
-
 
3527
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
3528
                            ],
3525
                            'defaults' => [
3529
                            'defaults' => [
3526
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
3530
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
3527
                                'action' => 'segment'
3531
                                'action' => 'segment'
3528
                            ],
3532
                            ],
3529
                        ],
3533
                        ],