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