Adding case for index routes.