Closed RehanSaeed closed 8 years ago
I'm pretty sure this setting was put in to ignore the default route from the ELMAH project, which is hard coded at /elmah.axd
. So there would be no reason to use the configurable one. We don't want to ignore the elmahRoute
. We want to use MapRoute
for it.
Am I misunderstanding you?
The IgnoreRoute statements seem to be hard coded to use the /elmah/ route. This code uses the value in the elmah.mvc.route app setting to make the IgnoreRoute's statements dynamic, so that the default route can be changed and IgnoreRoute will still work.