app/Http/Controllers/Admin/BlogController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Blog  $blog
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Blog $blog)
    {
        $blogcategories = BlogCategory::all();
        $blogtags = BlogTags::all();
        $data = compact('blogcategories', 'blogtags', 'blog');
        return view('backend.inc.blog.blog', $data);
    }
public function edit ( Blog $ blog ) { $ blogcategories = BlogCategory :: all ( ) ; $ blogtags = BlogTags :: all ( ) ; $ data = compact ( 'blogcategories' , 'blogtags' , 'blog' ) ; return view ( 'backend.inc.blog.blog' , $ data ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .