app/Http/Controllers/PageController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $pages = Page::all();
        return view('admin.pages.index')->with('pages',$pages);
    }
public function index ( ) { $ pages = Page :: all ( ) ; return view ( 'admin.pages.index' ) -> with ( 'pages' , $ pages ) ; }
Display a listing of the resource.
Display a listing of the resource .