/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\RedirectResponse * @internal param Request $request */ public function destroy($id) { $strip = Strip::findOrFail($id); $strip->delete(); $message = trans('messages.strip_successfully_removed'); Flash::warning($message); return redirect()->route('admin.strips.index'); }
/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $entity = Strip::findOrFail($id); return view('strips.show')->with('entity', $entity)->with('title', trans('titles.details_of_strip')); }