headlesslaravel / formations

MIT License
3 stars 5 forks source link

Seeker: Add exception if no show route defined #112

Closed dillingham closed 2 years ago

dillingham commented 2 years ago

The following would benefit from an exception being thrown:

Global search will except a route to click on

 class AddressFormation extends Formation
{
    public $detailRouteName = null;
}
Route::seeker([
    AddressFormation::class,
]);
Route::formation(AddressFormation::class)->only('index')