/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $json = Page::getjson(); return view('json', ['json' => $json]); }