I’m trying to generate haml views with devise, but it always use erb instead. I’m running rails 3.1 & ruby 1.9.2. Rails generators (like scaffold) generates haml. I tried setting the template engine :
config.generators do |g|
g.template_engine :haml
end
But still doesn’t work. If you have an idea, it is most welcomed.
Thanks for your time !
It’s not possible to generate them out of the box. However, there is a short tutorial on how to convert the erb views from devise to haml layout using
html2hamland a simple bash script.