flash icon indicating copy to clipboard operation
flash copied to clipboard

Added withFlash macro to RedirectResponse

Open Dartui opened this issue 8 years ago • 0 comments

Instead of writing

flash('Some message', 'danger')->important();

return redirect()->route('index');

we can now write

return redirect()->route('index')->withFlash('Some message', 'danger', true);

Dartui avatar Nov 29 '17 11:11 Dartui