/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { // $this->content->destroy($id, 'fragment'); return redirect()->route('admin.fragment.index')->with('message', '删除碎片成功!'); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { $this->content->destroy($id, 'page'); return redirect()->route('admin.page.index')->with('message', '删除单页成功!'); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { // $this->content->destroy($id, 'article'); return redirect()->route('admin.article.index')->with('message', '删除文章成功!'); }