migrate index.haml to index.erb