In route file
Route::get('feed/{id}',function($id){
return view('app/feed',['id' => $id]);
});
In blade file
<?php
echo $id;
?>
in Laravel, Php, Tips and Tricks
In route file
Route::get('feed/{id}',function($id){
return view('app/feed',['id' => $id]);
});
In blade file
<?php
echo $id;
?>