/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $pages = Page::all(); return view('admin.pages.list', compact('pages')); }