Changed index to haml.