Sounds like a good use of inheritance. When you say "fallback" controller, I think you really just mean making each controller extend some base controller that has a bunch of default logic in it, then override where necessary, sounds fairly straightforward.
Well, that's not exactly what I meant. I actually meant that if I don't want to override any of the functions of the fall-back controller then I see no point in making a controller at all. Not even an empty one.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community