public function partnership() { $partnerships = Partnership::all(); return view('pages.partnership', compact('partnerships')); }
/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { $partnership = Partnership::findOrFail($id); $partnership->delete(); return redirect('admin/Partnership'); }