src/Http/Controllers/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()
    {
        return view('cms::posts.create', [
            'categories' => CmsCategory::pluck('name', 'id'),
        ]);
    }
public function create ( ) { return view ( 'cms::posts.create' , [ 'categories' => CmsCategory :: pluck ( 'name' , 'id' ) , ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .