logankoester / errship

Errship is a Rails 3.1 engine for rendering error pages inside your layout. It supports i18n, custom exceptions, and Airbrake error tracking.
http://blog.logankoester.com/errship.html
MIT License
26 stars 5 forks source link

Dependency on HAML #4

Closed fschwahn closed 13 years ago

fschwahn commented 13 years ago

Hi, I really like the gem, but the dependency on haml seems like overkill for a single template. I know it's a question of taste, but pulling in a gem for rendering a single template seems a bit much. Maybe it is possible to make the dependency conditional and use haml if it is available and erb otherwise?

Anyway, thanks a lot! Fabian

logankoester commented 13 years ago

This is the second time I've heard this request, so I am inclined to agree that it does bother some people. Open a pull request with the template converted to erb and I will be happy to merge it in as a 2.1 version. :-)

logankoester commented 13 years ago

I've merged your pull request, removed the remaining optional dependency on HAML (and its version of the template), updated the README changelog and released it as version 2.1.0. Thanks!