samedi 26 mars 2016

How to get value of one route into another

How to get value of one route into another

Route::get('/first_url', function () {
   return "Hello this is test";
});

I Tried something like this but not worked.

Route::get('/second_url', function () {
   $other_view = Redirect::to('first_url');
});

Any Idea ??? Or Am I trying wrong thing to do.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire