George12
4 years ago
3286
4
Laravel

Redirect to route with data

Posted 4 years ago by George12

Is it possible to redirect to a named route with data? Something like:

return redirect()->route('homepage',  ['message']);

I do not want to send the data as GET parameter, but as a variable.

Thanks

Please sign in or create an account to participate in this conversation.