change rails api path.