How to pass route parameter in datatable function in laravel to update the datatable using only one blade.php : This is my first post please pardon me.
I have page named data.blade.php .I want to update the data-table of this page for every person id.

My route will be like this /admin/data/1,  /admin/data/2,  /admin/data/3.

Here 1,2,3 are the person id.I want show the person's element in data-table single.
But though I change the id my data-table stuck on the first id and doesn't change.