app/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()
    {
        $categories=PostCategory::get();
        $tags=PostTag::get();
        $users=User::get();
        return view('backend.post.create')->with('users',$users)->with('categories',$categories)->with('tags',$tags);
    }
public function create ( ) { $ categories = PostCategory :: get ( ) ; $ tags = PostTag :: get ( ) ; $ users = User :: get ( ) ; return view ( 'backend.post.create' ) -> with ( 'users' , $ users ) -> with ( 'categories' , $ categories ) -> with ( 'tags' , $ tags ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .