Undefine a route from a previous Sprinkle?


#1

What’s the correct way to undefine a route from the Core (or any previously loaded) Sprinkle?

At the moment I’m throwing a NotFoundException for routes I want to disable, is there a better or preferred approach?

Thanks
Andrew


#2

For the time being, have it point to a controller method that always throws a 404 is the best solution.