Skip to content

Instantly share code, notes, and snippets.

@bradylove
Created June 12, 2011 17:24
Show Gist options
  • Save bradylove/1021785 to your computer and use it in GitHub Desktop.
Save bradylove/1021785 to your computer and use it in GitHub Desktop.
Convert devise views to haml
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