app/Http/Controllers/AdminHomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
Show the application dashboard.
@return \Illuminate\Http\Response
Show the application dashboard . @return \ Illuminate \ Http \ Response
public function index()
    {
        $users = User::sortable()->paginate(5);
        return view('adminhome',['posts'=>$users]);
    }
public function index ( ) { $ users = User :: sortable ( ) -> paginate ( 5 ) ; return view ( 'adminhome' , [ 'posts' => $ users ] ) ; }
Show the application dashboard.
Show the application dashboard .