Exemplo n.º 1
0
             $activityController->postComment();
             break;
         default:
             $activityController->render();
             break;
     }
     break;
 case "fileUpload":
     require_once "controllers/FilesController.class.php";
     break;
 case "profile":
     $profileController = new ProfileController($route[2]);
     $where = $route[3];
     switch ($where) {
         case 'activities':
             $profileController->getNextActivities();
             break;
         case 'ideas':
             $profileController->getNextIdeas();
             break;
         case 'projects':
             $profileController->getNextProjects();
             break;
         case 'forgetPassword':
             $homeController->forgetPassword();
             break;
         case 'sendLinkRequest':
             $profileController->sendLinkRequest();
             break;
         case 'confirmLinkRequest':
             $profileController->confirmLinkRequest();