Skip to content

Commit 87017d3

Browse files
committed
Use full url, fixes #121, yajra/laravel-datatables#2322.
1 parent 6ac575c commit 87017d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Html/Options/HasData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function minifiedAjax($url = '', $script = null, $data = [], $ajaxParamet
7777
$this->ajax = [];
7878
$appendData = $this->makeDataScript($data);
7979

80-
$this->ajax['url'] = empty($url) ? url()->current() : $url;
80+
$this->ajax['url'] = empty($url) ? url()->full() : $url;
8181
$this->ajax['type'] = 'GET';
8282
if (isset($this->attributes['serverSide']) ? $this->attributes['serverSide'] : true) {
8383
$this->ajax['data'] = 'function(data) {

0 commit comments

Comments
 (0)