[fix] route extensions made rails 4 compatible