haml / haml-rails

let your Gemfile do the talking
MIT License
1.04k stars 169 forks source link

Rendering HAML from ERB isn't supported #65

Closed valk closed 10 years ago

valk commented 10 years ago

Rendering HAML from ERB can be very useful especially when migrating from ERB to HAML. I opened and answered for the workaround on SO, but it could be handy to have that by default. http://stackoverflow.com/questions/21817282/rendering-haml-from-html-erb/21817796#21817796

Thanks.

indirect commented 10 years ago

So you seem to have filed this as a bug... it is not a bug that haml-rails does not provide HAML inside ERB. :)

If you'd like it as a feature of haml-rails, I suggest a pull request adding the feature and documenting it. Thanks!