-with() in laravel

38

Route::get('/', function () {
   $articleName = ‘Article 1’;
   return view('gfg')->with('articleName', $articleName)->
                with('articlePublished', 'On GeeksforGeeks');
});

Comments

Submit
0 Comments