redirect to previous page laravel code example Example: laravel redirect to previous page url()->previous()