lundi 4 janvier 2016

Laravel: what is the difference of Redirect::to and redirect()?

In the docs I always see redirect() but whenever I try to find solutions some users refer to Route::to() or Route::route() I have 2 questions:

  1. What is the difference between the two?
  2. Is the redirect() the most updated usage and the preferred method?


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire