app/Http/Controllers/CommentsController.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()
    {
        $comment= new Comment;
        return view('commentsForm', ['comment' => $comment]);
    }
public function create ( ) { $ comment = new Comment ; return view ( 'commentsForm' , [ 'comment' => $ comment ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .