Tuesday, May 23, 2017

Laravel named route pass variable

I'm trying to pass variable to a named route:

return redirect()->route('Company.Dashboard.Subscription.Index')->with(compact('message'));

But in blade i cant access the message variable.

Any ideas?

Thanks!



via user3844579

Advertisement