pass parameter to view laravel

53

pass parameter to view laravel -

Route::get('/', function () {
    return view('greeting', ['name' => 'James']);
});

Comments

Submit
0 Comments