Question and answer is powered by AnsPress.io
I am login with username and password in a Laravel web application and I set a form action another URL link. So when my enter login data is the match then redirect to the previous page.
Go to the previous link in Laravel 5 version use url(‘previous’). if you working with laravel 5 version and using blade template for your web application so you can follow this code. for example:
<a href="{{url('previous')}}">Previous Page</a>