Reputation: 473
Using render function in pagination i am getting this url
http://localhost/laravel_admin/public/undo/?page=2
So it will redirect wrong page so how to fix that issue
To redirect this way
http://localhost/laravel_admin/public/undo?page=2
in laravel 5 I think minor error is in my code by i can't found that any one got this error.
Upvotes: 0
Views: 203
Reputation: 5042
Try changing your code like this:
{!! str_replace('/?', '?', $yourVar->render()) !!}
I think this will fix your issue!
Hope it helps!
Upvotes: 0
Reputation: 163798
I think you have wrong configuration. You should set up your web server, so it point to /laravel_admin/public
folder.
Upvotes: 1