public function destroy($id, Request $request) { //ELIMINACIÓN DE PORCENTAJE $profit = ProfitPercentage::find($id); if ($profit->delete()) { //SE REGISTRA LA ACTIVIDAD EN LA BITACORA $this->binnacle("ELIMINÓ % DE GANANCIA", $request); } Session::flash('message', 'La ganancia se eliminó correctamente'); return Redirect::to('/profit'); }