@@ -8,7 +8,7 @@ You can add a custom column to your response by using the `addColumn` api.
88## Add Column with Blade Syntax
99
1010``` php
11- use DataTables;
11+ use Yajra\DataTables\Facades\ DataTables;
1212
1313Route::get('user-data', function() {
1414 $model = App\User::query();
@@ -23,7 +23,7 @@ Route::get('user-data', function() {
2323## Add Column with Closure
2424
2525``` php
26- use DataTables;
26+ use Yajra\DataTables\Facades\ DataTables;
2727
2828Route::get('user-data', function() {
2929 $model = App\User::query();
@@ -42,7 +42,7 @@ Route::get('user-data', function() {
4242> {tip} You can use view to render your added column by passing the view path as the second argument on ` addColumn ` api.
4343
4444``` php
45- use DataTables;
45+ use Yajra\DataTables\Facades\ DataTables;
4646
4747Route::get('user-data', function() {
4848 $model = App\User::query();
@@ -64,7 +64,7 @@ Hi {{ $name }}!
6464> {tip} Just pass the column order as the third argument of ` addColumn ` api.
6565
6666``` php
67- use DataTables;
67+ use Yajra\DataTables\Facades\ DataTables;
6868
6969Route::get('user-data', function() {
7070 $model = App\User::query();
0 commit comments