return redirect()->back()->with('message', 'IT WORKS!'); Displaying message if it exists: @if(session()->has('message')) <div class="alert alert-success"> {{ session()->get('message') }} </div> @endif