public function deleteActions() { $this->beforeFilter('verifyeditadmin'); $result = SRUtilities::deleteActions(Input::all()); /* if (Input::has("jsiId")) { return Redirect::to("cr/edit?crId=" . Input::get("crId") . "#tab-jobSubmission") ->with("message", "Job Submission Interface was deleted successfully"); } */ if (Input::has("dmiId")) { return Redirect::to("sr/edit?crId=" . Input::get("crId") . "#tab-dataMovement")->with("message", "Data Movement Protocol was deleted successfully"); } elseif (Input::has("del-srId")) { return Redirect::to("sr/browse")->with("message", "The Compute Resource has been successfully deleted."); } else { return $result; } }