You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
420 B

4 years ago
  1. <?php
  2. $app->notFound(function () use ($app) {
  3. require '../public/partials/layout.html';
  4. });
  5. $app->get('/',function(){
  6. require '../public/partials/layout.html';
  7. });
  8. $app->group('/api', function () use ($app) {
  9. include ('controllers/user.php');
  10. /* Es importante que respetes estos comentarios para general scaffold sin probremas. */
  11. /** Scaffold PHP Controller **/
  12. include ('controllers/personal.php');
  13. });