Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 29, 2019 23:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
<?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