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

[5.4] adding base url to paginated array for ease of knowing where the request is going #19314

Merged
merged 5 commits into from
May 24, 2017

Conversation

lukepolo
Copy link
Contributor

Use case :

I am creating a pagination component in vuejs , this allows me to easily grab the base url to go to a different page far out. This stops us from having to pass in the base url our selves or parsing the next page url etc. Also if there are no prev/next pages we have no idea where the data came from.

@lukepolo lukepolo changed the title adding base url for ease of knowing where the request is going [5.4] adding base url for ease of knowing where the request is going May 23, 2017
@lukepolo lukepolo changed the title [5.4] adding base url for ease of knowing where the request is going [5.4] adding base url to paginated array for ease of knowing where the request is going May 23, 2017
@taylorotwell taylorotwell merged commit 6d37f00 into laravel:5.4 May 24, 2017
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

Successfully merging this pull request may close these issues.

2 participants