/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { // return Article::select('content')->find($id)->content; }
public function showGet() { $getData = Article::select('id', 'title', 'is_showed')->orderBy('created_at', 'DESC')->get()->toArray(); return view('admin.article.listArticle')->with(array('articleList' => $getData)); }