app/Http/Controllers/PageController.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()
    {
        $pages = Page::parentPages()->get();
        return view('backend.pages.form', ['pages' => $pages], $this->data(new Page()));
    }
public function create ( ) { $ pages = Page :: parentPages ( ) -> get ( ) ; return view ( 'backend.pages.form' , [ 'pages' => $ pages ] , $ this -> data ( new Page ( ) ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .