public function show($url)
    {
        $blog = $this->repository->findBlogsByURL($url);

        if (empty($blog)) {
            abort(404);
        }

        return view('cms-frontend::blog.'.$blog->template)->with('blog', $blog);
    }
public function show($url)
    {
        $blog = $this->repository->findBlogsByURL($url);

        if (empty($blog)) {
            abort(404);
        }

        return view('cms-frontend::blog.'.$blog->template)->with('blog', $blog);
    }
public function show ( $ url ) { $ blog = $ this -> repository -> findBlogsByURL ( $ url ) ; if ( empty ( $ blog ) ) { abort ( 404 ) ; } return view ( 'cms-frontend::blog.' . $ blog -> template ) -> with ( 'blog' , $ blog ) ; }
Display the specified Blog.

@param int $id

@return Response
Display the specified Blog .