/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { //ELIMINA GASTO FIJO $fixed = FixedCost::find($id); if ($fixed->delete()) { //SE REGISTRA EL GASTO FIJO EN LA BITACORA $this->binnacle("ElIMINÓ GASTO FIJO"); } Session::flash('message', 'El Gasto Fijo se eliminó correctamente'); return Redirect::to('/fixedcost'); }