public function findPublishedById($id);
/** * Show blog. * * /blogs/{id} get * * @param integer $id * * @return \Illuminate\View\View */ public function show($id) { $blog = $this->blogs->findPublishedById($id); return view('blogs.show', compact('blog')); }