Describe the solution you'd like
I'd like to hide some routes behind a 404 error page when a feature is disabled.
Describe alternatives you've considered
I think we can add a feature attribute to routes and have a listener to check this feature on kernel.controller event
Additional context
See:
Describe the solution you'd like
I'd like to hide some routes behind a 404 error page when a feature is disabled.
Describe alternatives you've considered
I think we can add a
featureattribute to routes and have a listener to check this feature onkernel.controllereventAdditional context
See: