public function deleteTestimonials() { $id = Input::get('id'); $getTestimonials = Testimonials::find($id); if (!$getTestimonials->delete()) { return 1; } return 0; }