I'm trying to flash error messages from my controller back to my view. I tried this with:
\Route::group(['middleware' => 'web'], function ()
flash('Error message');
return Redirect::back();
});
And tried showing it my view with:
@include('flash::message')
However this just seems not to show the message. I've been looking over the web for some good 2 to 3 hours now and I am at a loss right now.
If this is a duplication of another question somewhere on stackoverflow, then sorry!