masonite
masonite copied to clipboard
Fallback route
Is your feature request related to a problem?
No
What do we currently have to do now?
No response
Describe the solution you'd like
I would like to have a way to define a fallback route just like Laravel does, like this way:
Route.fallback("MyController.index")
This to be able to catch any route and fallback to that one.
Describe alternatives you've considered
No response
Would this be a breaking change ?
- [ ] Yes
Anything else ?
No response