replace index.erb with index.haml