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

Custom path to Elmah #14

Closed georgiosd closed 12 years ago

georgiosd commented 12 years ago

I liked it much better when I could control the path to Elmah by placing it in the appropriate Area etc Now the URL is fixed - could you provide a customization for this?

alexbeletsky commented 12 years ago

Thanks a lot for raising this.

It's a valid issue, but I don't know how to make it happen. The problem is described here. I would be happy if you can provide any help.

georgiosd commented 12 years ago

Yes, I see the problem. However, I don't think you need to find a solution for it.

I like how clean it is now with a nuget package that is referenced.

If I were you, I'd just add a custom route in the RouteBundle (MVC4) when the nuget package is installed and let the user customize it however they want. It's a reasonable expectation in my eyes.

alexbeletsky commented 12 years ago

Will be fixed in ELMAH.MVC 2.0.1

alexbeletsky commented 12 years ago

It's done - you are welcome to test :)

georgiosd commented 12 years ago

Seems to work :) Does it support slashes? e.g. /Admin/Elmah?

alexbeletsky commented 12 years ago

Sure, go ahead and use it! Just don't use first slash.. Use Admin/Elmah

Hm, slash before might cause troubles.. Need to verify that ;)

georgiosd commented 12 years ago

You're the man :) Thanks!