master
ajax
public function ajax() { return datatables() ->eloquent($this->applyScopes($this->query()))