Fixed API routing fro Rails32