changed ERB views to HAML views