This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Ability to pass variables into pagination view #364
Comments
Worth a shot if it's easy to implement. What's your use case? |
@brayniverse I would like to pass a route name and make custom pages url like |
I've just saw this https://laravel.com/api/5.4/Illuminate/Pagination/LengthAwarePaginator.html#method_render and I'm very happy Laravel 5.4 does have the second data argument which I hope will help to pass data into the view. |
Good work @pbelyaev 👍 |
@brayniverse actually, it wasn't me. I've just suggested and some of the core developers did that. |
It wasn't a core dev. The PR for the feature is here. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
That would be cool if there was a possibility to pass variables into pagination view. Somehow like so:
It seems nice for me and easy to implement. Anyone else finds that interesting?
The text was updated successfully, but these errors were encountered: