Have changed home page after signingin as leaves/index. Add approve.html.haml. Fixed issue for leave model