예제 #1
0
 public function action_delete()
 {
     RoutingEngine::setPage("runnDAILY", "PV__300");
     if (!isset($_POST["go_id"])) {
         Page::redirect("/goals");
     }
     Goal::deleteGoal($_POST["go_id"]);
     Page::redirect("/goals");
 }