<?php | |
$enrutador | |
->group(["before" => "logueado"], function ($enrutadorVistasPrivadas) { | |
$enrutadorVistasPrivadas | |
->get("/perfil/cambiar-password", ["Parzibyte\Controladores\ControladorUsuarios", "perfilCambiarPassword"]) | |
->post("/perfil/cambiar-password", ["Parzibyte\Controladores\ControladorUsuarios", "perfilGuardarPassword"]) | |
->get("/notas", ["Parzibyte\Controladores\ControladorNotas", "index"]) | |
->get("/notas/agregar", ["Parzibyte\Controladores\ControladorNotas", "agregar"]) | |
->post("/notas/guardar", ["Parzibyte\Controladores\ControladorNotas", "guardar"]) | |
->get("/notas/editar/{idNota}", ["Parzibyte\Controladores\ControladorNotas", "editar"]) | |
->get("/notas/eliminar/{idNota}", ["Parzibyte\Controladores\ControladorNotas", "confirmarEliminacion"]) | |
->post("/notas/eliminar", ["Parzibyte\Controladores\ControladorNotas", "eliminar"]) | |
->post("/notas/editar", ["Parzibyte\Controladores\ControladorNotas", "guardarCambios"]) | |
->get("/logout", ["Parzibyte\Controladores\ControladorLogin", "logout"]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment