Currently you can define missing method in case implicitly bound model is not found when defining route. (https://laravel.com/docs/8.x/routing#customizing-missing-model-behavior)
It would be better to also have posibility to set it globally for all routes or for route group (web, api) without need to set it separately for each route.. (Maybe middleware or RouteServiceProvider?)
Currently you can define missing method in case implicitly bound model is not found when defining route. (https://laravel.com/docs/8.x/routing#customizing-missing-model-behavior) It would be better to also have posibility to set it globally for all routes or for route group (web, api) without need to set it separately for each route.. (Maybe middleware or RouteServiceProvider?)