Converted erb to haml, fixed error with notification rendering on main page after sending email confirmation