I'm trying to implement an EasyCRUD full page component that would permit basic operations on indicated model. Just for the simplicity, all models would have the same structure (id, name, timestamps, etc.). The idea is to define multiple routes using this component providing it a model name like so:
// For CRUD operations on Country model
Route::get('country', \App\Http\Livewire\EasyCrud::class /*, ['model' => Country::class]*/)->name('country');
// For CRUD operations on Profession model
Route::get('profession', \App\Http\Livewire\EasyCrud::class /*, ['model' => Profession::class]*/)->name('profession');
...
The problem is that there is no third parameter in Route::get|post|etc method. And the only possible way to pass some parameters to the component, afaik, is through url-parameters binding. But I would like not to expose it to user. So is there a way to pass these additional parameters to full page components?