app/Http/Controllers/AdminContactController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $contacts = Contact::orderBy('done')->paginate(10);
        return view('admin.contacts.index', compact('contacts'));
    }
public function index ( ) { $ contacts = Contact :: orderBy ( 'done' ) -> paginate ( 10 ) ; return view ( 'admin.contacts.index' , compact ( 'contacts' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//