Question and answer is powered by AnsPress.io
In laravel 5 version how to a page go to the previous page after some work success. I don’t know hot set previous page in Laravel 5.
Go to the previous page click a menu link. That’s like:
<a href="{{URL::previous()}}"> Previous Page </a>
If you want to set the previous link after some work as like after login so you can try this code:
return redirect()->back();