/** * Remove the specified branch from storage. * * @param int $id * @return Response */ public function destroy($id) { $earning = Earnings::findOrFail($id); Earnings::destroy($id); Audit::logaudit('Earnings', 'delete', 'deleted: ' . $earning->earnings_name); return Redirect::route('other_earnings.index'); }