dimanche 26 juin 2016

Trying to send multiple Key value inside with function for a Route: Laravel 5.2

I am using the below function to send the key value to show a message based on database operation.

return redirect()->route("Roles")->with("UpdateRole", "updated");

Now, I am looking to send a status code key also but as per the doc for with function, we can send one key and it's corresponding value.

Is there any way to send multiple Keys and their corresponding values?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire