public function postChangedeadline() { $year = Input::get("year"); $month = Input::get("month"); $date = Input::get("date"); $deadline = $year . "/" . $month . "/" . $date; $result = DBDeadlineController::setDeadline($deadline); if ($result) { return View::make("G1SAS/adminpage")->with('title', "Deadline changed successfully"); } else { return View::make("G1SAS/adminpage")->with('title', "Deadline was not changed successfully"); } }