/** * Display a listing of the resource. * * @return Response */ public function getIndex() { $pages = Page::latest()->get(); return view('admin.pages.index', compact('pages')); }