/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { $association = Association::findOrFail($id); $association->delete(); \Flash::success('Vereniging verwijderd'); return redirect('admin/associations'); }
/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { $association = Association::findOrFail($id); $association->delete(); return redirect("associations"); }