Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty JSON when get paginated results #92

Open
ecuation opened this issue Dec 15, 2016 · 0 comments
Open

empty JSON when get paginated results #92

ecuation opened this issue Dec 15, 2016 · 0 comments

Comments

@ecuation
Copy link

Hi, I'm just trying to pass a paginated collection, heres my code snippet.

`$messages = Message::paginate(10);

JavaScript::put([
//data,
'messages' => $messages
]);
`

It returns an empty json:

$_backend.messages = {}

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant