Skip to content

Commit 86ad497

Browse files
committed
Get builder from ioc container.
1 parent 7344bd6 commit 86ad497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Datatables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function collection(Collection $builder)
118118
public function getHtmlBuilder()
119119
{
120120
if (is_null($this->builder)) {
121-
return app(HtmlBuilder::class);
121+
return app('datatables.html');
122122
}
123123

124124
return $this->builder;

0 commit comments

Comments
 (0)