Ejemplo n.º 1
0
     $controller->show();
     break;
 case 'recipe.edit':
     $controller = new RecipesController();
     $controller->edit();
 case 'singlerecipe':
     $controller = new RecipesController();
     $controller->showIndividualRecipe();
     break;
 case 'register':
     $controller = new AuthenticationController();
     $controller->register();
     break;
 case 'auth.store':
     $controller = new AuthenticationController();
     $controller->store();
     break;
 case 'auth.attempt':
     $controller = new AuthenticationController();
     $controller->attempt();
     break;
 case 'login':
     $controller = new AuthenticationController();
     $controller->login();
     break;
 case 'account.edit':
     $controller = new AccountController();
     $controller->edit();
 case 'upload':
     $controller = new AccountController();
     $controller->upload();