We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
dimanche 10 novembre 2019
Laravel: multiple views for one controller
I have an index function in my controllers where I return a view page. I need those variables declared in the index for another view page. How can I reuse the same function without having to make the same function twice?
Aucun commentaire:
Enregistrer un commentaire