From 51154419802e888228deef4c874604d1b889fe77 Mon Sep 17 00:00:00 2001 From: Damian Date: Thu, 6 Mar 2025 08:19:16 -0600 Subject: [PATCH 1/2] Correccion ruta docentes --- resources/views/docentesCrearEditar.blade.php | 2 +- routes/web.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/docentesCrearEditar.blade.php b/resources/views/docentesCrearEditar.blade.php index 9cab84d..277c60c 100644 --- a/resources/views/docentesCrearEditar.blade.php +++ b/resources/views/docentesCrearEditar.blade.php @@ -7,7 +7,7 @@

{{ isset($docente) ? 'Editar Docente' : 'Crear Docente' }}

-
+ @csrf @if(isset($docente)) @method('PUT') diff --git a/routes/web.php b/routes/web.php index 2951b3d..d572751 100644 --- a/routes/web.php +++ b/routes/web.php @@ -25,6 +25,7 @@ Auth::routes(['register'=>true,'reset'=>false]); Route::resource('marca', MarcaController::class); Route::resource('docentes', DocentesController::class); + // Rutas protegidas que requieren autenticación Route::middleware(['auth'])->group(function () { Route::get('/dashboard', [HomeController::class, 'index'])->name('dashboard'); From 5b1612d80164a59a72f2a731e4254e4977eb8054 Mon Sep 17 00:00:00 2001 From: Rubi Date: Thu, 6 Mar 2025 09:49:02 -0600 Subject: [PATCH 2/2] prueba prueba --- anotaciones | 2 ++ 1 file changed, 2 insertions(+) diff --git a/anotaciones b/anotaciones index c0f1886..ca96f0a 100644 --- a/anotaciones +++ b/anotaciones @@ -21,3 +21,5 @@ Nombre no.tel correo +yo rubi +