We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a34b91 commit 181c41dCopy full SHA for 181c41d
response-array.md
@@ -1,6 +1,6 @@
1
# Array Response
2
3
-Array response is the default response of DataTables.
+The default response of the package is an array of objects. If you prefer to return an array response, use `make(false)`.
4
5
```php
6
use DataTables;
@@ -10,7 +10,7 @@ Route::get('user-data', function() {
10
11
return DataTables::eloquent($model)
12
->addColumn('intro', 'Hi {{$name}}!')
13
- ->make();
+ ->make(false);
14
});
15
```
16
0 commit comments