Right now i have this link on paginate :
http://ift.tt/2kKijst
http://ift.tt/2kmsxBB
and what i want is this: http://ift.tt/2kKjzMx
and so on
Right now i have this:
{!! $properties->appends(['toggle' => Request::get('toggle'), 'search' => Request::get('search')])->render() !!}
How can i change this to have route like this what i want?
i found this:
Route::get('users', function () {
$users = App\User::paginate(15);
$users->setPath('custom/url');
//
});
But problem is that i use one function for multiple stuff so i can not set path in controller.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kmiRqZ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire