master
ajax
public function ajax() { return datatables() ->eloquent($this->applyScopes($this->query())) ->editColumn('category', function ($row) {