replaced layout.erb with layout.haml