Question : laravel redirect back
Answered by : indian-gooner
return Redirect::back()->withErrors(['msg', 'The Message']);
and inside your view call this
@if($errors->any())
<h4>{{$errors->first()}}</h4>
@endif
Source : | Last Update : Thu, 27 Aug 20
Question : laravel redirect back
Answered by : good-gecko-trrwc3l1e9k7
return back();
return redirect()->back();
return redirect()->previous();
Source : https://laracasts.com/discuss/channels/laravel/back-vs-redirect-back | Last Update : Tue, 31 Aug 21
Question : laravel blade route redirect back
Answered by : viruscom1000
{{ url()->previous() }}
Source : | Last Update : Tue, 13 Oct 20
Question : laravel redirect back url with message
Answered by : mohammad-arman-ali
// redirect to a route/url with session message
return redirect()->route('home')->with('message', 'Your message');
Source : | Last Update : Fri, 29 Oct 21
Question : redirect back laravel
Answered by : elegant-echidna-hujgm9zlnx9z
return back()->withInput();
Source : | Last Update : Wed, 10 Nov 21
Question : redirect back laravel
Answered by : tiago-bordin
return redirect()->back()->with('message','Action completed Successfully');
Source : | Last Update : Tue, 04 Oct 22