diff --git a/src/Html/Options/HasData.php b/src/Html/Options/HasData.php index ab14fb8..21e750b 100644 --- a/src/Html/Options/HasData.php +++ b/src/Html/Options/HasData.php @@ -77,7 +77,7 @@ public function minifiedAjax($url = '', $script = null, $data = [], $ajaxParamet $this->ajax = []; $appendData = $this->makeDataScript($data); - $this->ajax['url'] = empty($url) ? url()->current() : $url; + $this->ajax['url'] = empty($url) ? url()->full() : $url; $this->ajax['type'] = 'GET'; if (isset($this->attributes['serverSide']) ? $this->attributes['serverSide'] : true) { $this->ajax['data'] = 'function(data) {