app/Http/Controllers/Admin/PostController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {   
        $posts = Post::all();
        $categories = Category::all();
        $tags = Tag::all();
        return view('admin.posts.create', ['categories' => $categories, 'tags' => $tags]);
    }
public function create ( ) { $ posts = Post :: all ( ) ; $ categories = Category :: all ( ) ; $ tags = Tag :: all ( ) ; return view ( 'admin.posts.create' , [ 'categories' => $ categories , 'tags' => $ tags ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .