Answer the question
In order to leave comments, you need to log in
Why might flash messages not be processed in Laravel 5.2?
Hello. When saving the model, I call the following redirect:
return redirect('/admin/news')->with('success_message', News::$add_success);
@if(Session::has('success_message'))
<div class="alert alert-success">
{{ Session::get('success_message') }}
</div>
@endif
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question