pass parameter to view laravel

50

pass parameter to view laravel -

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

Comments

Submit
0 Comments