jeudi 11 juillet 2019

Using route() and with() in html view in Laravel 5.6

For redirection, in Controllers, we can write like this:-

Redirect::Route('front_index')->with('RegError', 'An error occured while adding the user.');

How can I set up the href of an anchor tag so that I can send the 'RegError' too? Say something like this?

<a href="">



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire