Saturday, March 18, 2017

How to redirect with previously flashed data?

How can I forward the previously flashed data with Redirect. I could use Session::reflash() or I could take the data from the session and flash it again but I am looking something like:

Redirect::route('index')
    ->with('message', 'hello')
    ->withReflash();

Is there something like withReflash() ?



via Skeletor

Advertisement