lundi 10 octobre 2016

template variable can't be parsed on laravle 5

When id use variables on template, i got a problem that my variable can't be parsed.

my route here:

Route::get('/', function () {
    return view('index',['msg'=>'hello world']);
});

code on tempalte:



the result on browser: enter image description here

as you see on the picture, the variable parser not work, i type code follow the official docs, and what was wrong with the sample ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire