1.2.1
- Fixed the
show
,edit
anddestroy
route generation, since Laravel 6 does handle differently the key given in theroute()
helper call :
// assuming your declared your edit route like this :
(new Table)->model(User::class)->routes([
// ...
'edit' => ['name'=> 'user.edit', 'params' => ['foo' => 'bar']],
//...
])
// the route will be generated like this during the table instantiation :
route('user.edit, [$user->id, 'foo' => 'bar']);
// instead of this way
route('user.edit, ['id' => $user->id, 'foo' => 'bar']);