Skip to content

Commit 675e2f3

Browse files
committed
fix: the Route:datatable route
1 parent 414aa94 commit 675e2f3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to `eloquent-datatable` will be documented in this file.
44

5+
## 1.0.2 - 2024-04-07
6+
- fix: the Route:datatable route
7+
58
## 1.0.1 - 2024-04-06
69

710
- Add comment to TODO in stubs

src/EloquentDatatableServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function boot()
1313
{
1414
parent::boot();
1515
Route::macro('datatable', function ($url, $controller) {
16-
Route::apiResource($url, $controller);
16+
Route::resource($url, $controller)->except('show', 'create');
1717
});
1818
}
1919

0 commit comments

Comments
 (0)