public function edit($id)
    {
        $blog = $this->repository->find($id);

        if (empty($blog)) {
            Cms::notification('Blog not found', 'warning');

            return redirect(route($this->routeBase.'.blog.index'));
        }

        return view('cms::modules.blogs.edit')->with('blog', $blog);
    }
public function edit($id)
    {
        $blog = $this->repository->find($id);

        if (empty($blog)) {
            Cms::notification('Blog not found', 'warning');

            return redirect(route($this->routeBase.'.blog.index'));
        }

        return view('cms::modules.blogs.edit')->with('blog', $blog);
    }
public function edit ( $ id ) { $ blog = $ this -> repository -> find ( $ id ) ; if ( empty ( $ blog ) ) { Cms :: notification ( 'Blog not found' , 'warning' ) ; return redirect ( route ( $ this -> routeBase . '.blog.index' ) ) ; } return view ( 'cms::modules.blogs.edit' ) -> with ( 'blog' , $ blog ) ; }
Show the form for editing the specified Blog.

@param int $id

@return Response
Show the form for editing the specified Blog .