I have been battling Datatables with 5.4 without any success and have decided that I will have to walk another route as I cannot give it more time.
I have therefore a page in the public area in a subdirectory called ajax, datatables_users.php.
This page generates a datatable using server side processing fine (which I could never get to work in 5.4) so I just want to call it from a controller.
I have tried
return view("asset('ajax\datatables_user.php')") ;
but I am getting a
Class Barstone\Http\Controllers\../ajax/datatables_user.php does not exist
How can a call a "raw" php page from a controller?