alexbeletsky / elmah-mvc

Painless integration of ELMAH into ASP.NET MVC application
http://nuget.org/packages/Elmah.MVC
Apache License 2.0
266 stars 61 forks source link

Allow IgnoreDefaultRoute to work for routes other than /elmah #62

Closed RehanSaeed closed 8 years ago

RehanSaeed commented 9 years ago

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.

issafram commented 9 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?