Skip to content

Instantly share code, notes, and snippets.

@salverde
Created January 4, 2012 16:42
Show Gist options
  • Save salverde/1560874 to your computer and use it in GitHub Desktop.
Save salverde/1560874 to your computer and use it in GitHub Desktop.
Convert devise views from erb to haml templates
find . -name '*erb' | xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")};rm #{i}"}' | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment