masonite icon indicating copy to clipboard operation
masonite copied to clipboard

Fallback route

Open eaguad1337 opened this issue 1 year ago • 0 comments

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

eaguad1337 avatar Oct 23 '23 23:10 eaguad1337