Laravel 5.2 error — Method links does not exist

Пример из документации (Paginating Query Builder Results):

    public function index()
    {
        $users = DB::table('users')->paginate(15);

        return view('user.index', ['users' => $users]);
    }

А затем (Displaying Results In A View):

<div class="container">
    @foreach ($users as $user)
        {{ $user->name }}
    @endforeach
</div>

{{ $users->links() }}

Дает ошибку: Laravel 5.2 error - Method links does not exist

Исправляется заменой метода links на render. См. LengthAwarePaginator->render