actualizacion ruta exportar plan de mejora

This commit is contained in:
Christian Dacid Sullca Puma 2022-11-04 01:15:33 -05:00
parent 7de36a3d96
commit af1d3dcb39

View File

@ -41,12 +41,12 @@
//Route::get('user', [UserController::class, 'listUser']);
Route::get('user', [UserController::class, 'listUserHabilitados']);
Route::get('plan/export/{id}', [PlanController::class, 'exportPlan'])->where('id', '[0-9]+');
Route::middleware("auth:sanctum")->group(function () {
//rutas auth
Route::get('user-profile', [UserController::class, 'userProfile']);
Route::get('update', [UserController::class, 'updateRoleEstado']);
Route::get('update', [UserController::class, 'updateRoleEstado']);
Route::get('logout', [UserController::class, 'logout']);
Route::post('register', [UserController::class, 'register']);
@ -65,6 +65,7 @@
Route::put('plan/{id}', [PlanController::class, 'update'])->where('id', '[0-9]+');
Route::get('plans/user', [PlanController::class, 'listPlanUser']);
Route::post('plan/asignar', [PlanController::class, 'assignPlan']);
Route::get('plan/export/{id}', [PlanController::class, 'exportPlan'])->where('id', '[0-9]+');
//Route::put('plan',[PlanController::class,'updatePlan']);