/** * Display a listing of the resource. * * @return Response */ public function index() { $charts = Chart::orderBy("last_edited_at", "desc")->get(); return view('charts.index', compact('charts')); }